openldap/servers/slapd/back-ldbm/sasl.c
Luke Howard 9b4e3b2234 Merged in preliminary support for Cyrus SASL library;
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.
2000-01-02 01:21:25 +00:00

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