summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-10-10 01:59:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:43 -0500
commit437a037b7bf7335a24290ce4252b22b631c6dda0 (patch)
tree0df381d93f5bb6c5888632dd762db082b526d29a /source4
parent3dd56175abf1a4580cc4d506f84ecc17e867c21e (diff)
downloadsamba-437a037b7bf7335a24290ce4252b22b631c6dda0.tar.gz
samba-437a037b7bf7335a24290ce4252b22b631c6dda0.tar.bz2
samba-437a037b7bf7335a24290ce4252b22b631c6dda0.zip
r2890: fix segfault when call is destroyed and we dereference it
metze (This used to be commit 82e792a0ce94f63eeb8573d340b2198660aef132)
Diffstat (limited to 'source4')
-rw-r--r--source4/ldap_server/ldap_bind.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/ldap_server/ldap_bind.c b/source4/ldap_server/ldap_bind.c
index ad937eeb64..840ff5d4e8 100644
--- a/source4/ldap_server/ldap_bind.c
+++ b/source4/ldap_server/ldap_bind.c
@@ -53,7 +53,7 @@ static NTSTATUS ldapsrv_BindSASL(struct ldapsrv_call *call)
const char *errstr;
NTSTATUS status = NT_STATUS_OK;
NTSTATUS sasl_status;
- BOOL ret;
+ /*BOOL ret;*/
DEBUG(10, ("BindSASL dn: %s\n",req->dn));
@@ -120,13 +120,12 @@ reply:
return NT_STATUS_NO_MEMORY;
}
ldapsrv_consumed_from_buf(&call->conn->out_buffer, call->conn->out_buffer.length);
-*/
+
status = gensec_session_info(call->conn->gensec, &call->conn->session_info);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
-
- //debug_session_info(0, 0, call->conn->session_info);
+*/
return status;
}