From 2ac07b1b0f937aa83674d696727cdd829ef63daf Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 10 Feb 2004 20:47:22 +0000 Subject: we can close the netlogon pipe used to setup the schannel session key as soon as we are finished with the netlogon negotiation phase. The session key remains valid. (This used to be commit 95a40d4693994edcb2284a2a135d2db426f6addb) --- source4/librpc/rpc/dcerpc_schannel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/librpc/rpc/dcerpc_schannel.c') diff --git a/source4/librpc/rpc/dcerpc_schannel.c b/source4/librpc/rpc/dcerpc_schannel.c index 7727c5e436..3b9f82ca60 100644 --- a/source4/librpc/rpc/dcerpc_schannel.c +++ b/source4/librpc/rpc/dcerpc_schannel.c @@ -136,8 +136,10 @@ NTSTATUS dcerpc_bind_auth_schannel(struct dcerpc_pipe *p, /* the schannel session key is now in creds.session_key - */ + we no longer need the netlogon pipe open + */ + dcerpc_pipe_close(p2); /* step 4 - perform a bind with security type schannel -- cgit