Use wbinfo --ping-dc isntead of wbingo -p sicne this is a more reliable way to determ...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 7 Dec 2009 07:27:46 +0000 (18:27 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 7 Dec 2009 07:27:46 +0000 (18:27 +1100)
(This used to be ctdb commit 7c95e56ba871a4e0cb893a5cb5d821e7ff6e6dd6)

ctdb/config/events.d/50.samba

index 5c10b19ef08b55adb8ed9d40f1daecc8241b1832..9c0466c4482aa90bd395c1013560cbc498e6b83b 100755 (executable)
@@ -247,7 +247,7 @@ case "$1" in
        # check winbind is OK
        check_ctdb_manages_winbind
        [ "$CTDB_MANAGES_WINBIND" = "yes" ] && {
-               ctdb_check_command "winbind" "wbinfo -p"
+               ctdb_check_command "winbind" "wbinfo --ping-dc"
        }
        ;;