mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +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))
|
||||
return False;
|
||||
|
||||
if (!cli_connect(&cli, "localhost", &loopback_ip)) {
|
||||
if (!cli_connect(&cli, global_myname(), &loopback_ip)) {
|
||||
cli_shutdown(&cli);
|
||||
return False;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user