summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-10-09 21:57:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:41 -0500
commit85e18e252da0524264f8a809239ddcf2a2dbe3af (patch)
treedbe0bc032e715274aaaef1a9ca26204b1ac6311c /source4/ldap_server
parent4c2bbb1edbee60556a3e0d1d428236400ae514ff (diff)
downloadsamba-85e18e252da0524264f8a809239ddcf2a2dbe3af.tar.gz
samba-85e18e252da0524264f8a809239ddcf2a2dbe3af.tar.bz2
samba-85e18e252da0524264f8a809239ddcf2a2dbe3af.zip
r2877: the Bind and Unbind function are already moved...
metze (This used to be commit 5c3f3b4072ed67c6b6b11af6a0f7f2869c717cdb)
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_backend.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c
index 7f733390c1..f62657e579 100644
--- a/source4/ldap_server/ldap_backend.c
+++ b/source4/ldap_server/ldap_backend.c
@@ -78,36 +78,6 @@ NTSTATUS ldapsrv_unwilling(struct ldapsrv_call *call, int error)
return ldapsrv_queue_reply(call, reply);
}
-static NTSTATUS ldapsrv_BindRequest(struct ldapsrv_call *call)
-{
- struct ldap_BindRequest *req = &call->request.r.BindRequest;
- struct ldapsrv_reply *reply;
- struct ldap_BindResponse *resp;
-
- DEBUG(10, ("BindRequest dn: %s\n",req->dn));
-
- reply = ldapsrv_init_reply(call, LDAP_TAG_BindResponse);
- if (!reply) {
- return NT_STATUS_NO_MEMORY;
- }
-
- resp = &reply->msg.r.BindResponse;
- resp->response.resultcode = 0;
- resp->response.dn = NULL;
- resp->response.errormessage = NULL;
- resp->response.referral = NULL;
- resp->SASL.secblob = data_blob(NULL, 0);
-
- return ldapsrv_queue_reply(call, reply);
-}
-
-static NTSTATUS ldapsrv_UnbindRequest(struct ldapsrv_call *call)
-{
-/* struct ldap_UnbindRequest *req = &call->request->r.UnbindRequest;*/
- DEBUG(10, ("UnbindRequest\n"));
- return NT_STATUS_OK;
-}
-
static NTSTATUS ldapsrv_SearchRequest(struct ldapsrv_call *call)
{
struct ldap_SearchRequest *req = &call->request.r.SearchRequest;