mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
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>
This commit is contained in:
parent
7a347327a0
commit
a2f3c351fa
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user