2000-01-02 09:21:25 +08:00
|
|
|
/* bind.c - ldbm backend bind and unbind routines */
|
|
|
|
/* $OpenLDAP$ */
|
|
|
|
/*
|
2003-01-04 04:20:47 +08:00
|
|
|
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
2000-01-02 09:21:25 +08:00
|
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include "portable.h"
|
|
|
|
|
2000-07-14 06:54:38 +08:00
|
|
|
#if 0
|
|
|
|
|
2000-01-02 09:21:25 +08:00
|
|
|
#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
|
|
|
|
|