summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2008-09-17 17:55:02 +0200
committerStefan Metzmacher <metze@samba.org>2008-09-19 16:33:47 +0200
commit8ac5db124630586605bd3972975ea47ee1cb34c0 (patch)
tree2707dd6a8a6e0027a42a63efc839ed77dbe84bda /source4
parentd173644f1080b8dc575998c1202018930320f635 (diff)
downloadsamba-8ac5db124630586605bd3972975ea47ee1cb34c0.tar.gz
samba-8ac5db124630586605bd3972975ea47ee1cb34c0.tar.bz2
samba-8ac5db124630586605bd3972975ea47ee1cb34c0.zip
LDAP Server: Don't create the SASL SECBLOB output object twice
Removes one "talloc" creation of the output object. Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/ldap_server/ldap_bind.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/ldap_server/ldap_bind.c b/source4/ldap_server/ldap_bind.c
index f37ef31c0a..8357251a8f 100644
--- a/source4/ldap_server/ldap_bind.c
+++ b/source4/ldap_server/ldap_bind.c
@@ -180,9 +180,6 @@ static NTSTATUS ldapsrv_BindSASL(struct ldapsrv_call *call)
input = *req->creds.SASL.secblob;
}
- resp->SASL.secblob = talloc(reply, DATA_BLOB);
- NT_STATUS_HAVE_NO_MEMORY(resp->SASL.secblob);
-
status = gensec_update(conn->gensec, reply,
input, &output);