git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a63881
)
we can close the netlogon pipe used to setup the schannel session key
author
Andrew Tridgell
<tridge@samba.org>
Tue, 10 Feb 2004 20:47:22 +0000
(20:47 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 10 Feb 2004 20:47:22 +0000
(20:47 +0000)
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
patch
|
blob
|
history
diff --git
a/source4/librpc/rpc/dcerpc_schannel.c
b/source4/librpc/rpc/dcerpc_schannel.c
index 7727c5e4369785569367a7f0d9f5b1ceea13a979..3b9f82ca604dbccc77a04e40af7c5e970e20a0e0 100644
(file)
--- 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