diff options
author | Gerald Carter <jerry@samba.org> | 2003-01-17 14:34:07 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-01-17 14:34:07 +0000 |
commit | 01b805e06bf495061f72616b0edf6bf766121b91 (patch) | |
tree | 1a48cdbc28b24e41bbaa5bb55a0616f3c800952e /source3/web | |
parent | 3d2ac93f1a6748a3ded0c237eb904a3d7b8b015d (diff) | |
download | samba-01b805e06bf495061f72616b0edf6bf766121b91.tar.gz samba-01b805e06bf495061f72616b0edf6bf766121b91.tar.bz2 samba-01b805e06bf495061f72616b0edf6bf766121b91.zip |
connect to the actual netbios name in smb.conf and not LOCALHOST
(This used to be commit 50d65996e497a6b4647b74dadb4a7f3f5dddf2ed)
Diffstat (limited to 'source3/web')
-rw-r--r-- | source3/web/diagnose.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/diagnose.c b/source3/web/diagnose.c index 396499bcb9..efd6d1d0a1 100644 --- a/source3/web/diagnose.c +++ b/source3/web/diagnose.c @@ -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; } |