fix winbind ping call so that SWAT correctly determines if winbindd is running; bug 398
authorGerald Carter <jerry@samba.org>
Sat, 22 Nov 2003 04:49:32 +0000 (04:49 +0000)
committerGerald Carter <jerry@samba.org>
Sat, 22 Nov 2003 04:49:32 +0000 (04:49 +0000)
source/web/diagnose.c

index efd6d1d0a19c4f69e6a78d43987ccd846152ca8a..46432c41f852049c274644b7b1fb1500e135a9da 100644 (file)
@@ -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