]> git.sur5r.net Git - openldap/blob - servers/slapd/back-ldbm/sasl.c
Added bdb_attribute and bdb_group ACL support routines
[openldap] / servers / slapd / back-ldbm / sasl.c
1 /* bind.c - ldbm backend bind and unbind routines */
2 /* $OpenLDAP$ */
3 /*
4  * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
5  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
6  */
7
8
9 #include "portable.h"
10
11 #if 0
12
13 #include <stdio.h>
14
15 #include <ac/krb.h>
16 #include <ac/socket.h>
17 #include <ac/string.h>
18 #include <ac/unistd.h>
19
20 #include "slap.h"
21 #include "back-ldbm.h"
22 #include "proto-back-ldbm.h"
23
24 int
25 back_ldbm_sasl_authorize(
26         BackendDB *be,
27         const char *auth_identity,
28         const char *requested_user,
29         const char **user,
30         const char **errstring)
31 {
32         return SASL_FAIL;
33 }
34
35 int
36 back_ldbm_sasl_getsecret(
37         Backend *be,
38         const char *mechanism,
39         const char *auth_identity,
40         const char *realm,
41         sasl_secret_t **secret)
42 {
43         return SASL_FAIL;
44 }
45
46 int
47 back_ldbm_sasl_putsecret(
48         Backend *be,
49         const char *mechanism,
50         const char *auth_identity,
51         const char *realm,
52         const sasl_secret_t *secret)
53 {
54         return SASL_FAIL;
55 }
56
57 #else
58 static int dummy = 1;
59 #endif
60