summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-11-22 04:49:32 +0000
committerGerald Carter <jerry@samba.org>2003-11-22 04:49:32 +0000
commit177ff4d64c9a8891e827e927bd2354e28d4cc9d6 (patch)
treef94ba17244ae04581568286adfd3652f0505e467
parent3c101594ddb9b8be9378ddd00c175a1fcf04a577 (diff)
downloadsamba-177ff4d64c9a8891e827e927bd2354e28d4cc9d6.tar.gz
samba-177ff4d64c9a8891e827e927bd2354e28d4cc9d6.tar.bz2
samba-177ff4d64c9a8891e827e927bd2354e28d4cc9d6.zip
fix winbind ping call so that SWAT correctly determines if winbindd is running; bug 398
(This used to be commit cb12d519cc40b964d022886538044e8613931199)
-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