summaryrefslogtreecommitdiffstats
path: root/source/web
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-11-22 04:47:34 +0000
committerGerald Carter <jerry@samba.org>2003-11-22 04:47:34 +0000
commit04e37283f230b28f3019bfab3a71dde5e4ae4e23 (patch)
tree92bf8d2d9f2d28d0bcaa9c6cad9dff7287e6ff55 /source/web
parent5bf91c79d620e34ac71d72c80f74e47754d49dcb (diff)
downloadsamba-04e37283f230b28f3019bfab3a71dde5e4ae4e23.tar.gz
samba-04e37283f230b28f3019bfab3a71dde5e4ae4e23.tar.xz
samba-04e37283f230b28f3019bfab3a71dde5e4ae4e23.zip
fix winbind ping call so that SWAT correctly determines if winbindd is running; bug 398
Diffstat (limited to 'source/web')
-rw-r--r--source/web/diagnose.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/web/diagnose.c b/source/web/diagnose.c
index efd6d1d0a19..46432c41f85 100644
--- a/source/web/diagnose.c
+++ b/source/web/diagnose.c
@@ -31,11 +31,7 @@ NSS_STATUS winbindd_request(int req_type,
BOOL winbindd_running(void)
{
-
- if (winbindd_request(WINBINDD_PING, NULL, NULL))
- return False;
-
- return True;
+ return winbind_ping();
}
#endif