5 if [ "$1" != "down" ] ; then
7 debug "Marking Winbind service as up and managed by CTDB"
9 service "winbind" force-started
11 export FAKE_WBINFO_FAIL="no"
14 debug "Marking Winbind service as down and not managed by CTDB"
16 service "winbind" force-stopped
18 export FAKE_WBINFO_FAIL="yes"
24 debug "Making wbinfo commands fail"
25 FAKE_WBINFO_FAIL="yes"