summaryrefslogtreecommitdiffstats
path: root/ctdb/config/events.d
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2009-12-07 18:27:46 +1100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2009-12-07 18:27:46 +1100
commitcdabe1677771229c1bba06ce9edca29c1777bd0c (patch)
treead0239757f004f612865b6b4f3931cc1d5c74264 /ctdb/config/events.d
parent3420278b3ade39239d9c816459c00a6b7b816794 (diff)
downloadsamba-cdabe1677771229c1bba06ce9edca29c1777bd0c.tar.gz
samba-cdabe1677771229c1bba06ce9edca29c1777bd0c.tar.xz
samba-cdabe1677771229c1bba06ce9edca29c1777bd0c.zip
Use wbinfo --ping-dc isntead of wbingo -p sicne this is a more reliable way to determine if winbindd is in a useful state.
(This used to be ctdb commit 7c95e56ba871a4e0cb893a5cb5d821e7ff6e6dd6)
Diffstat (limited to 'ctdb/config/events.d')
-rwxr-xr-xctdb/config/events.d/50.samba2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/events.d/50.samba b/ctdb/config/events.d/50.samba
index 5c10b19ef0..9c0466c448 100755
--- a/ctdb/config/events.d/50.samba
+++ b/ctdb/config/events.d/50.samba
@@ -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"
}
;;