git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcd2ebc
)
make the error logged when winbindd fails to access the dc during startup more scary...
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Thu, 29 Oct 2009 00:54:24 +0000
(11:54 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Thu, 29 Oct 2009 00:54:24 +0000
(11:54 +1100)
(This used to be ctdb commit
0c9b0466fd87b3f1e5d53f867c863217802ac43b
)
ctdb/config/events.d/50.samba
patch
|
blob
|
history
diff --git
a/ctdb/config/events.d/50.samba
b/ctdb/config/events.d/50.samba
index 1785f4dfc2f60130f52d339da985b91062e7f415..618dca0abb7f413213627d9e17f9dc0b20d97ddf 100755
(executable)
--- a/
ctdb/config/events.d/50.samba
+++ b/
ctdb/config/events.d/50.samba
@@
-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
}
}