mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
netlogon4: make use of auth_context_create_for_netlogon()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=2976 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
2b685ffe04
commit
74deb488e9
@ -868,8 +868,7 @@ static NTSTATUS dcesrv_netr_LogonSamLogon_base(struct dcesrv_call_state *dce_cal
|
||||
case NetlogonInteractiveTransitiveInformation:
|
||||
case NetlogonServiceTransitiveInformation:
|
||||
|
||||
/* TODO: we need to deny anonymous access here */
|
||||
nt_status = auth_context_create(mem_ctx,
|
||||
nt_status = auth_context_create_for_netlogon(mem_ctx,
|
||||
dce_call->event_ctx, dce_call->msg_ctx,
|
||||
dce_call->conn->dce_ctx->lp_ctx,
|
||||
&auth_context);
|
||||
@ -895,8 +894,7 @@ static NTSTATUS dcesrv_netr_LogonSamLogon_base(struct dcesrv_call_state *dce_cal
|
||||
case NetlogonNetworkInformation:
|
||||
case NetlogonNetworkTransitiveInformation:
|
||||
|
||||
/* TODO: we need to deny anonymous access here */
|
||||
nt_status = auth_context_create(mem_ctx,
|
||||
nt_status = auth_context_create_for_netlogon(mem_ctx,
|
||||
dce_call->event_ctx, dce_call->msg_ctx,
|
||||
dce_call->conn->dce_ctx->lp_ctx,
|
||||
&auth_context);
|
||||
|
Loading…
x
Reference in New Issue
Block a user