s4:ldap_server: make use of gensec_update_ev()
authorStefan Metzmacher <metze@samba.org>
Fri, 13 Dec 2013 18:35:52 +0000 (19:35 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 26 Mar 2014 23:36:31 +0000 (00:36 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/ldap_server/ldap_bind.c

index e0db358b4f86fea113dbb081c62142774e0eb7d8..69a6b6153b034d32c39c1865075c21262e73d291 100644 (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);