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:
@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user