summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-17 23:02:39 +0100
committerMichael Adam <obnox@samba.org>2007-12-17 23:27:53 +0100
commitd9682dfb5918c20516d45de20c4f3d5824572e20 (patch)
tree30ba2b4d685b089eb40b0014aac7fdd7523a39f4 /source3/rpc_client
parent2e44c4020b09c197e5835f3f646da6e4d5203af2 (diff)
downloadsamba-d9682dfb5918c20516d45de20c4f3d5824572e20.tar.gz
samba-d9682dfb5918c20516d45de20c4f3d5824572e20.tar.bz2
samba-d9682dfb5918c20516d45de20c4f3d5824572e20.zip
Do not close netlogon pipe in get_schannel_session_key_common().
This removes one forgotten call of cli_rpc_pipe_close(netlogon_pipe). Correction of e77c4022cfbb868e608edcb06b676658b0e201ad. Michael (This used to be commit 7f6593cddef048dd05140b05d306c708d8134f0e)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index f61ea95d04..5a4ccf4f02 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -2466,7 +2466,6 @@ static bool get_schannel_session_key_common(struct rpc_pipe_client *netlogon_pip
if (((*pneg_flags) & NETLOGON_NEG_SCHANNEL) == 0) {
DEBUG(3, ("get_schannel_session_key: Server %s did not offer schannel\n",
cli->desthost));
- cli_rpc_pipe_close(netlogon_pipe);
*perr = NT_STATUS_INVALID_NETWORK_RESPONSE;
return false;
}