1
0
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:
Gerald Carter 0001-01-01 00:00:00 +00:00
parent c31d5036af
commit 50d65996e4

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