mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +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 used to be commit 63d7822b9d
)
This commit is contained in:
@ -2755,7 +2755,7 @@ BOOL cli_connect_serverlist(struct cli_state *cli, char *p)
|
|||||||
continue;
|
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));
|
DEBUG(1,("cli_connect_serverlist: Password server loop - not using password server %s\n", remote_machine));
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user