From a2f3c351fac93dfdf784f28a59c068db1bd64df5 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 5 May 2014 16:27:59 +1200 Subject: s4:auth_winbind: explicitly use dcerpc_binding_handle_set_sync_ev() for irpc This indicates that we're using nested event loops... Andrew Bartlett Pair-Programmed-With: Stefan Metzmacher Change-Id: I08f21876d42197f76fe3ae10b4f464626d70bf5a Signed-off-by: Andrew Bartlett Signed-off-by: Stefan Metzmacher --- source4/auth/ntlm/auth_winbind.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source4/auth/ntlm/auth_winbind.c b/source4/auth/ntlm/auth_winbind.c index 3f470fc557a..26d2d079b12 100644 --- a/source4/auth/ntlm/auth_winbind.c +++ b/source4/auth/ntlm/auth_winbind.c @@ -136,6 +136,8 @@ static NTSTATUS winbind_check_password(struct auth_method_context *ctx, s->req.in.validation_level = 3; + /* Note: this makes use of nested event loops... */ + dcerpc_binding_handle_set_sync_ev(irpc_handle, ctx->auth_ctx->event_ctx); status = dcerpc_winbind_SamLogon_r(irpc_handle, s, &s->req); NT_STATUS_NOT_OK_RETURN(status); -- cgit