summaryrefslogtreecommitdiff
path: root/source4/rpc_server/netlogon
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-06-05 01:29:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:27 -0500
commit1a993b800eca5dc8daccc715da46e7b84c604389 (patch)
tree92f31d8e29d3a297f20dee11b0e75100745f455e /source4/rpc_server/netlogon
parentcd35e12c7f96ef5297e78e6cd7a37f118382d722 (diff)
downloadsamba-1a993b800eca5dc8daccc715da46e7b84c604389.tar.gz
samba-1a993b800eca5dc8daccc715da46e7b84c604389.tar.bz2
samba-1a993b800eca5dc8daccc715da46e7b84c604389.zip
r1016: - store the schannel session key after it is established
- move to a centralised way of handling talloc/ldb interaction (This used to be commit 2b9b752875ba5e03e82f40e31f26bc1f245b3825)
Diffstat (limited to 'source4/rpc_server/netlogon')
-rw-r--r--source4/rpc_server/netlogon/dcerpc_netlogon.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c
index f662e45246..ea76be44f5 100644
--- a/source4/rpc_server/netlogon/dcerpc_netlogon.c
+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c
@@ -251,7 +251,10 @@ static NTSTATUS netr_ServerAuthenticate3(struct dcesrv_call_state *dce_call, TAL
pipe_state->computer_name = talloc_strdup(pipe_state->mem_ctx, r->in.computer_name);
- return NT_STATUS_OK;
+ /* remember this session key state */
+ nt_status = schannel_store_session_key(mem_ctx, pipe_state->computer_name, pipe_state->creds);
+
+ return nt_status;
}