summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/librpc/rpc/dcerpc_schannel.c4
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