Revert "Use wbinfo --ping-dc isntead of wbingo -p sicne this is a more reliable way...
authorMartin Schwenke <martin@meltin.net>
Tue, 12 Jan 2010 10:02:44 +0000 (21:02 +1100)
committerMartin Schwenke <martin@meltin.net>
Tue, 12 Jan 2010 10:02:44 +0000 (21:02 +1100)
This reverts commit 7c95e56ba871a4e0cb893a5cb5d821e7ff6e6dd6.

wbinfo --ping-dc is proving too unreliable.

config/events.d/50.samba

index 9c0466c4482aa90bd395c1013560cbc498e6b83b..5c10b19ef08b55adb8ed9d40f1daecc8241b1832 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 --ping-dc"
+               ctdb_check_command "winbind" "wbinfo -p"
        }
        ;;