summaryrefslogtreecommitdiffstats
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-05-05 16:27:59 +1200
committerStefan Metzmacher <metze@samba.org>2014-05-13 00:08:12 +0200
commita2f3c351fac93dfdf784f28a59c068db1bd64df5 (patch)
tree57aa9eb50dfd389db8b22deaeea68b4f9637b03a /source4
parent7a347327a0bc43cb7fec5564d13787cead241517 (diff)
downloadsamba-a2f3c351fac93dfdf784f28a59c068db1bd64df5.tar.gz
samba-a2f3c351fac93dfdf784f28a59c068db1bd64df5.tar.xz
samba-a2f3c351fac93dfdf784f28a59c068db1bd64df5.zip
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 <metze@samba.org> Change-Id: I08f21876d42197f76fe3ae10b4f464626d70bf5a Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/ntlm/auth_winbind.c2
1 files changed, 2 insertions, 0 deletions
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);