1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-09 17:49:29 +03:00

s4:ldap_server: make use of gensec_update_ev()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher
2013-12-13 19:35:52 +01:00
committed by Andrew Bartlett
parent 26f497b83f
commit 99e8bea5d5

View File

@ -202,8 +202,8 @@ static NTSTATUS ldapsrv_BindSASL(struct ldapsrv_call *call)
input = *req->creds.SASL.secblob;
}
status = gensec_update(conn->gensec, reply, conn->connection->event.ctx,
input, &output);
status = gensec_update_ev(conn->gensec, reply, conn->connection->event.ctx,
input, &output);
/* Windows 2000 mmc doesn't like secblob == NULL and reports a decoding error */
resp->SASL.secblob = talloc(reply, DATA_BLOB);