2 * Copyright 1999, Dmitry Kovalev <mit@openldap.org>, All rights reserved.
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.
15 #include <sys/types.h>
20 int backsql_bind(BackendDB *be,Connection *conn,Operation *op,
21 const char *dn,const char *ndn,int method,struct berval *cred,char** edn)
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);
30 int backsql_unbind(BackendDB *be,Connection *conn,Operation *op)
32 Debug(LDAP_DEBUG_TRACE,"==>backsql_unbind()\n",0,0,0);
33 backsql_free_db_conn(be,conn);
34 send_ldap_result(conn,op,LDAP_SUCCESS,NULL,NULL,NULL,0);
35 Debug(LDAP_DEBUG_TRACE,"<==backsql_unbind()\n",0,0,0);
39 #endif /* SLAPD_SQL */