summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-05-16 01:58:42 +0000
committerTim Potter <tpot@samba.org>2003-05-16 01:58:42 +0000
commitf93f79d6ed353801b1761af2fa54dfe49022d426 (patch)
treeec805772cbc65acd125fb63f5e9bdccb6cb0509e /source3/rpc_client
parent6ab6a2e6af3b49c8353e8834eda7e4caf3461fc1 (diff)
downloadsamba-f93f79d6ed353801b1761af2fa54dfe49022d426.tar.gz
samba-f93f79d6ed353801b1761af2fa54dfe49022d426.tar.bz2
samba-f93f79d6ed353801b1761af2fa54dfe49022d426.zip
Merge: clarify secure channel connection comment.
(This used to be commit dd063a298f9d5244d7b79c029c563b4d966019c1)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 1c089e589b..a5cb6d425e 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -1587,10 +1587,10 @@ BOOL cli_nt_open_netlogon(struct cli_state *cli, const char *trust_password,
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. "