summaryrefslogtreecommitdiff
path: root/source3/web/diagnose.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-01-17 14:34:23 +0000
committerGerald Carter <jerry@samba.org>2003-01-17 14:34:23 +0000
commitedbc2a174f7645ee042e14ba601c7fcb95524489 (patch)
treea8dd97447c69aa2977f5bfd460e529a001a16293 /source3/web/diagnose.c
parent074c99a852ce79f4c7791d709b82dc80c32e4d04 (diff)
downloadsamba-edbc2a174f7645ee042e14ba601c7fcb95524489.tar.gz
samba-edbc2a174f7645ee042e14ba601c7fcb95524489.tar.bz2
samba-edbc2a174f7645ee042e14ba601c7fcb95524489.zip
connect to the actual netbios name in smb.conf and not LOCALHOST
(This used to be commit 3e9701f34c730783648fb2a666f7b57478e5942d)
Diffstat (limited to 'source3/web/diagnose.c')
-rw-r--r--source3/web/diagnose.c2
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;
}