1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

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 commit is contained in:
Matthew Chapman -
parent f530e289c6
commit 63d7822b9d

View File

@ -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;