summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_bind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ldap_server/ldap_bind.c b/source4/ldap_server/ldap_bind.c
index e0db358b4f8..69a6b6153b0 100644
--- a/source4/ldap_server/ldap_bind.c
+++ b/source4/ldap_server/ldap_bind.c
@@ -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);