diff options
author | Tim Potter <tpot@samba.org> | 2003-05-16 01:57:57 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-05-16 01:57:57 +0000 |
commit | 627aa735fbd33b8b62661f6456b04593a2727841 (patch) | |
tree | 81f41326fb4ab2515521de0c130c1f74e7b9ccbc /source3 | |
parent | ec7b079ab3cb701023db7ae35d6df7704c80f9c9 (diff) | |
download | samba-627aa735fbd33b8b62661f6456b04593a2727841.tar.gz samba-627aa735fbd33b8b62661f6456b04593a2727841.tar.bz2 samba-627aa735fbd33b8b62661f6456b04593a2727841.zip |
Clarify a comment: The secure channel connection must be opened on the
same session (TCP connection) as the one the challenge was requested
from.
(This used to be commit 5cb9b99f0f5dad589ac7def667e354d6f92f8822)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 08cf8b1ef3..a6a49dd3eb 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -1632,10 +1632,10 @@ NTSTATUS cli_nt_establish_netlogon(struct cli_state *cli, int sec_chan, if (cli->capabilities & CAP_NT_SMBS) { - /* If we open \\PIPE\NETLOGON here, NT4SP6 - gives us an ACCESS_DENIED. Do I have to - understand this? - */ + /* The secure channel connection must be opened on the same + session (TCP connection) as the one the challenge was + requested from. */ + if ((fnum = cli_nt_create(cli, PIPE_NETLOGON_PLAIN, DESIRED_ACCESS_PIPE)) == -1) { DEBUG(0,("cli_nt_create failed to %s machine %s. " |