diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-10-10 01:59:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:59:43 -0500 |
commit | 437a037b7bf7335a24290ce4252b22b631c6dda0 (patch) | |
tree | 0df381d93f5bb6c5888632dd762db082b526d29a /source4 | |
parent | 3dd56175abf1a4580cc4d506f84ecc17e867c21e (diff) | |
download | samba-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.c | 7 |
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; } |