1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-29 13:49:30 +03:00

make the error logged when winbindd fails to access the dc during startup more scary and easier to spot in the logs

(This used to be ctdb commit 0c9b0466fd87b3f1e5d53f867c863217802ac43b)
This commit is contained in:
Ronnie Sahlberg
2009-10-29 11:54:24 +11:00
parent fcd2ebc32b
commit 9e235af3a2

View File

@ -171,8 +171,10 @@ case $cmd in
killall -q -9 winbindd
}
service "$CTDB_SERVICE_WINBIND" start
sleep 1
wbinfo -t || {
echo "Startup failed. wbinfo -t returned error."
echo "ERROR: wbinfo -t returned error during startup. Aborting startup event."
echo "ERROR: This may mean that winbindd can not access the domaincontroller and thus can not authenticate users."
exit 1
}
}