summaryrefslogtreecommitdiff
path: root/source3/web/diagnose.c
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
commit8a53eed206a6be996dda5e3555619cdccaf8d2c3 (patch)
tree5f745ecc9161572c872559bd601c7af4b60e7634 /source3/web/diagnose.c
parent11f4893145f94c85b4f1268544a84116d3a38751 (diff)
downloadsamba-8a53eed206a6be996dda5e3555619cdccaf8d2c3.tar.gz
samba-8a53eed206a6be996dda5e3555619cdccaf8d2c3.tar.bz2
samba-8a53eed206a6be996dda5e3555619cdccaf8d2c3.zip
fix winbind ping call so that SWAT correctly determines if winbindd is running; bug 398
(This used to be commit 04e37283f230b28f3019bfab3a71dde5e4ae4e23)
Diffstat (limited to 'source3/web/diagnose.c')
-rw-r--r--source3/web/diagnose.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/web/diagnose.c b/source3/web/diagnose.c
index efd6d1d0a1..46432c41f8 100644
--- a/source3/web/diagnose.c
+++ b/source3/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