diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/winbindd.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index b8b9c21170..361d02c03b 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -37,7 +37,7 @@ #include "auth.h" #include "messages.h" #include "../lib/util/pidfile.h" -#include "ctdbd_conn.h" +#include "util_cluster.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_WINBIND @@ -1465,15 +1465,8 @@ int main(int argc, char **argv, char **envp) exit(1); } - if (lp_clustering()) { - NTSTATUS status; - - status = ctdbd_probe(); - if (!NT_STATUS_IS_OK(status)) { - DEBUG(0, ("clustering=yes but ctdbd connect failed: " - "%s\n", nt_errstr(status))); - exit(1); - } + if (!cluster_probe_ok()) { + exit(1); } /* Initialise messaging system */ |