[SCM] CTDB repository - branch master updated - ctdb-1.0.101-9-g0c9b046

Ronnie Sahlberg sahlberg at samba.org
Wed Oct 28 18:46:35 MDT 2009


The branch, master has been updated
       via  0c9b0466fd87b3f1e5d53f867c863217802ac43b (commit)
      from  467da12a785ba3367ed9cbdf79440394e9703289 (commit)

http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 0c9b0466fd87b3f1e5d53f867c863217802ac43b
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date:   Thu Oct 29 11:54:24 2009 +1100

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

-----------------------------------------------------------------------

Summary of changes:
 config/events.d/50.samba |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/config/events.d/50.samba b/config/events.d/50.samba
index 1785f4d..618dca0 100755
--- a/config/events.d/50.samba
+++ b/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
 		}
 	}


-- 
CTDB repository


More information about the samba-cvs mailing list