summaryrefslogtreecommitdiff
path: root/source4/rpc_server/netlogon
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-02 16:20:18 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:58 +0100
commit181aab56d528c3a270ff9f349c8e91ecb402142b (patch)
tree678d2acc26d521f331a92a5a531a7ecff11307fe /source4/rpc_server/netlogon
parent4ab0b47ffd812350dce0255d4c654c16da102717 (diff)
downloadsamba-181aab56d528c3a270ff9f349c8e91ecb402142b.tar.gz
samba-181aab56d528c3a270ff9f349c8e91ecb402142b.tar.bz2
samba-181aab56d528c3a270ff9f349c8e91ecb402142b.zip
r26221: Add loadparm_context parameter to auth_context_create.
(This used to be commit a9a9634df8f3137ecb308adb90a755f12af94972)
Diffstat (limited to 'source4/rpc_server/netlogon')
-rw-r--r--source4/rpc_server/netlogon/dcerpc_netlogon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c
index b8f0103901..d441be807a 100644
--- a/source4/rpc_server/netlogon/dcerpc_netlogon.c
+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c
@@ -432,6 +432,7 @@ static NTSTATUS dcesrv_netr_LogonSamLogon_base(struct dcesrv_call_state *dce_cal
/* TODO: we need to deny anonymous access here */
nt_status = auth_context_create(mem_ctx,
dce_call->event_ctx, dce_call->msg_ctx,
+ global_loadparm,
&auth_context);
NT_STATUS_NOT_OK_RETURN(nt_status);
@@ -458,6 +459,7 @@ static NTSTATUS dcesrv_netr_LogonSamLogon_base(struct dcesrv_call_state *dce_cal
/* TODO: we need to deny anonymous access here */
nt_status = auth_context_create(mem_ctx,
dce_call->event_ctx, dce_call->msg_ctx,
+ global_loadparm,
&auth_context);
NT_STATUS_NOT_OK_RETURN(nt_status);