1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

connect to the actual netbios name in smb.conf and not LOCALHOST

(This used to be commit 3e9701f34c730783648fb2a666f7b57478e5942d)
This commit is contained in:
Gerald Carter 2003-01-17 14:34:23 +00:00
parent 074c99a852
commit edbc2a174f

View File

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