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