diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-02-10 20:47:22 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2004-02-10 20:47:22 +0000 |
commit | 2ac07b1b0f937aa83674d696727cdd829ef63daf (patch) | |
tree | 4d45ea526149ab7b50bccaa756dd9a53bad4b2f4 | |
parent | 9a6388179b9c4e13238ed91aebaca9b15e02408f (diff) | |
download | samba-2ac07b1b0f937aa83674d696727cdd829ef63daf.tar.gz samba-2ac07b1b0f937aa83674d696727cdd829ef63daf.tar.bz2 samba-2ac07b1b0f937aa83674d696727cdd829ef63daf.zip |
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)
-rw-r--r-- | source4/librpc/rpc/dcerpc_schannel.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 |