]> git.sur5r.net Git - openldap/blob - servers/slapd/back-sql/bind.c
fix case-insensitive matching
[openldap] / servers / slapd / back-sql / bind.c
1 /*
2  *       Copyright 1999, Dmitry Kovalev <mit@openldap.org>, All rights reserved.
3  *
4  *       Redistribution and use in source and binary forms are permitted only
5  *       as authorized by the OpenLDAP Public License.  A copy of this
6  *       license is available at http://www.OpenLDAP.org/license.html or
7  *       in file LICENSE in the top-level directory of the distribution.
8  */
9
10 #include "portable.h"
11
12 #ifdef SLAPD_SQL
13
14 #include <stdio.h>
15 #include <sys/types.h>
16 #include "slap.h"
17 #include "back-sql.h"
18 #include "sql-wrap.h"
19
20 int backsql_bind(BackendDB *be,Connection *conn,Operation *op,
21         const char *dn,const char *ndn,int method,struct berval *cred,char** edn)
22 {
23  Debug(LDAP_DEBUG_TRACE,"==>backsql_bind()\n",0,0,0);
24  //for now, just return OK, allowing to test modify operations
25  send_ldap_result(conn,op,LDAP_SUCCESS,NULL,NULL,NULL,0);
26  Debug(LDAP_DEBUG_TRACE,"<==backsql_bind()\n",0,0,0);
27  return 0;
28 }
29  
30 int backsql_unbind(BackendDB *be,Connection *conn,Operation *op)
31 {
32  Debug(LDAP_DEBUG_TRACE,"==>backsql_unbind()\n",0,0,0);
33  send_ldap_result(conn,op,LDAP_SUCCESS,NULL,NULL,NULL,0);
34  Debug(LDAP_DEBUG_TRACE,"<==backsql_unbind()\n",0,0,0);
35  return 0;
36 }
37
38 #endif /* SLAPD_SQL */