gensec: move event context from gensec_*_init() to gensec_update()
[nivanova/samba-autobuild/.git] / source4 / ldap_server / ldap_bind.c
index fd7deda49903bb916d036c9619ae104fcb5bd63e..e0db358b4f86fea113dbb081c62142774e0eb7d8 100644 (file)
@@ -202,7 +202,7 @@ static NTSTATUS ldapsrv_BindSASL(struct ldapsrv_call *call)
                        input = *req->creds.SASL.secblob;
                }
 
-               status = gensec_update(conn->gensec, reply,
+               status = gensec_update(conn->gensec, reply, conn->connection->event.ctx,
                                       input, &output);
 
                /* Windows 2000 mmc doesn't like secblob == NULL and reports a decoding error */