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 | 50d65996e497a6b4647b74dadb4a7f3f5dddf2ed (patch) | |
tree | b5fb6ca91e256ffe38265d47a6768218208beba2 /source/web | |
parent | c31d5036afc6b717dbc6b63742f39c95c01094ae (diff) | |
download | samba-50d65996e497a6b4647b74dadb4a7f3f5dddf2ed.tar.gz samba-50d65996e497a6b4647b74dadb4a7f3f5dddf2ed.tar.xz samba-50d65996e497a6b4647b74dadb4a7f3f5dddf2ed.zip |
connect to the actual netbios name in smb.conf and not LOCALHOST
Diffstat (limited to 'source/web')
-rw-r--r-- | source/web/diagnose.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/web/diagnose.c b/source/web/diagnose.c index 396499bcb9e..efd6d1d0a19 100644 --- a/source/web/diagnose.c +++ b/source/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; } |