mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
9b4e3b2234
support for DCE slash-delimited, left-to-right DNs; support for a domain socket transport (enable with --enable-ldapi); and extensions to URL parsing to support the latter transport.
60 lines
968 B
C
60 lines
968 B
C
/* bind.c - ldbm backend bind and unbind routines */
|
|
/* $OpenLDAP$ */
|
|
/*
|
|
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
*/
|
|
|
|
#ifdef HAVE_CYRUS_SASL
|
|
|
|
#include "portable.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <ac/krb.h>
|
|
#include <ac/socket.h>
|
|
#include <ac/string.h>
|
|
#include <ac/unistd.h>
|
|
|
|
#include "slap.h"
|
|
#include "back-ldbm.h"
|
|
#include "proto-back-ldbm.h"
|
|
|
|
int
|
|
back_ldbm_sasl_authorize(
|
|
BackendDB *be,
|
|
const char *auth_identity,
|
|
const char *requested_user,
|
|
const char **user,
|
|
const char **errstring)
|
|
{
|
|
return SASL_FAIL;
|
|
}
|
|
|
|
int
|
|
back_ldbm_sasl_getsecret(
|
|
Backend *be,
|
|
const char *mechanism,
|
|
const char *auth_identity,
|
|
const char *realm,
|
|
sasl_secret_t **secret)
|
|
{
|
|
return SASL_FAIL;
|
|
}
|
|
|
|
int
|
|
back_ldbm_sasl_putsecret(
|
|
Backend *be,
|
|
const char *mechanism,
|
|
const char *auth_identity,
|
|
const char *realm,
|
|
const sasl_secret_t *secret)
|
|
{
|
|
return SASL_FAIL;
|
|
}
|
|
|
|
#else
|
|
static int dummy = 1;
|
|
#endif
|
|
|