summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorMatthew Chapman <matty@samba.org>1999-01-18 01:35:43 +0000
committerMatthew Chapman <matty@samba.org>1999-01-18 01:35:43 +0000
commitb4e34006e88308aa0f315648992a15501399cf10 (patch)
treeac7d3be82de64a9cc27f0ab0b8a276a323b5a006 /source3/libsmb
parente10503d1a2053b0a4d5e86ffcf9b36e6cccc9497 (diff)
downloadsamba-b4e34006e88308aa0f315648992a15501399cf10.tar.gz
samba-b4e34006e88308aa0f315648992a15501399cf10.tar.bz2
samba-b4e34006e88308aa0f315648992a15501399cf10.zip
In security=user mode we must allow cli_connect_serverlist to connect to our
own smbd process, rather than complaining about a password server loop. (This used to be commit 63d7822b9d87d085194de6895d3e271cedcd3c9a)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clientgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 688764fa73..e269011402 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -2755,7 +2755,7 @@ BOOL cli_connect_serverlist(struct cli_state *cli, char *p)
continue;
}
- if (ismyip(dest_ip))
+ if ((lp_security() != SEC_USER) && (ismyip(dest_ip)))
{
DEBUG(1,("cli_connect_serverlist: Password server loop - not using password server %s\n", remote_machine));
continue;