mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
connect to the actual netbios name in smb.conf and not LOCALHOST
This commit is contained in:
parent
c31d5036af
commit
50d65996e4
@ -73,7 +73,7 @@ BOOL smbd_running(void)
|
|||||||
if (!cli_initialise(&cli))
|
if (!cli_initialise(&cli))
|
||||||
return False;
|
return False;
|
||||||
|
|
||||||
if (!cli_connect(&cli, "localhost", &loopback_ip)) {
|
if (!cli_connect(&cli, global_myname(), &loopback_ip)) {
|
||||||
cli_shutdown(&cli);
|
cli_shutdown(&cli);
|
||||||
return False;
|
return False;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user