Clarify a comment: The secure channel connection must be opened on the
authorTim Potter <tpot@samba.org>
Fri, 16 May 2003 01:57:57 +0000 (01:57 +0000)
committerTim Potter <tpot@samba.org>
Fri, 16 May 2003 01:57:57 +0000 (01:57 +0000)
same session (TCP connection) as the one the challenge was requested
from.
(This used to be commit 5cb9b99f0f5dad589ac7def667e354d6f92f8822)

source3/rpc_client/cli_pipe.c

index 08cf8b1ef3ea9cd3a5da44b06dec50e33db0233f..a6a49dd3ebea206d967f692bea8a37928ff18c10 100644 (file)
@@ -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. "