diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-10-12 22:55:34 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-10-13 14:06:07 +0200 |
commit | 5603dab6478fbb40206a8664a308b5db5b1863e8 (patch) | |
tree | 865595e3efb120830d8d7c52e5da786bbf554d99 /source4/rpc_server | |
parent | 43d84aa619be5851acea82bef77164f0dc3e9f7e (diff) | |
download | samba-5603dab6478fbb40206a8664a308b5db5b1863e8.tar.gz samba-5603dab6478fbb40206a8664a308b5db5b1863e8.tar.bz2 samba-5603dab6478fbb40206a8664a308b5db5b1863e8.zip |
libcli/auth: Provide a struct loadparm_context to schannel calls
This will allow us to pass this down to the tdb_wrap layer.
Andrew Bartlett
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/netlogon/dcerpc_netlogon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c index d5a7eebb55..cbf223be47 100644 --- a/source4/rpc_server/netlogon/dcerpc_netlogon.c +++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c @@ -270,7 +270,7 @@ static NTSTATUS dcesrv_netr_ServerAuthenticate3(struct dcesrv_call_state *dce_ca creds->sid = samdb_result_dom_sid(creds, msgs[0], "objectSid"); nt_status = schannel_save_creds_state(mem_ctx, - lpcfg_private_dir(dce_call->conn->dce_ctx->lp_ctx), + dce_call->conn->dce_ctx->lp_ctx, creds); return nt_status; @@ -382,7 +382,7 @@ static NTSTATUS dcesrv_netr_creds_server_step_check(struct dcesrv_call_state *dc } nt_status = schannel_check_creds_state(mem_ctx, - lpcfg_private_dir(dce_call->conn->dce_ctx->lp_ctx), + dce_call->conn->dce_ctx->lp_ctx, computer_name, received_authenticator, return_authenticator, @@ -839,7 +839,7 @@ static NTSTATUS dcesrv_netr_LogonSamLogonEx(struct dcesrv_call_state *dce_call, } nt_status = schannel_get_creds_state(mem_ctx, - lpcfg_private_dir(dce_call->conn->dce_ctx->lp_ctx), + dce_call->conn->dce_ctx->lp_ctx, r->in.computer_name, &creds); if (!NT_STATUS_IS_OK(nt_status)) { return nt_status; |