Opie build farm failure.

Jeremy Allison jra at samba.org
Wed Oct 17 23:54:06 GMT 2007


On Wed, Oct 17, 2007 at 04:25:33PM -0700, Jeremy Allison wrote:
> Here's the relevent bit from the smbd -d10 log.
> 
> _samr_set_userinfo: jra does not possess sufficient rights
> Attempting administrator password change for user samba1$
> decode_pw_buffer: incorrect password length (-126453866).
> decode_pw_buffer: check that 'encrypt passwords = yes'
> 
> (running the build tests as user jra).
> 
> This looks like an access rights screw-up, not a
> crypto bug to me. Still investigating, but I
> thought you'd want to know :-).

Yep, just confirmed it. If I add the following patch
to the build farm scripts it becomes clear.

How did this used to work ?

Jeremy.
-------------- next part --------------
diff --git a/source/script/tests/selftest.sh b/source/script/tests/selftest.sh
index 8de6420..32193bc 100755
--- a/source/script/tests/selftest.sh
+++ b/source/script/tests/selftest.sh
@@ -125,6 +125,7 @@ cat >$SERVERCONFFILE<<EOF
 	bind interfaces only = yes
 	panic action = $SCRIPTDIR/gdb_backtrace %d %\$(MAKE_TEST_BINARY)
 	include = $COMMONCONFFILE
+	admin users = $USERNAME
 
 	passdb backend = tdbsam
 
diff --git a/source/script/tests/test_functions.sh b/source/script/tests/test_functions.sh
index 1cc9ea1..7df5af5 100644
--- a/source/script/tests/test_functions.sh
+++ b/source/script/tests/test_functions.sh
@@ -77,7 +77,7 @@ samba3_check_or_start() {
 			fi
 			MAKE_TEST_BINARY=$BINDIR/smbd
 			export MAKE_TEST_BINARY
-			timelimit $SMBD_MAXTIME $SMBD_VALGRIND $BINDIR/smbd -F -S --no-process-group -d0 -s $SERVERCONFFILE > $SMBD_TEST_LOG 2>&1 &
+			timelimit $SMBD_MAXTIME $SMBD_VALGRIND $BINDIR/smbd -F -S --no-process-group -d10 -s $SERVERCONFFILE > $SMBD_TEST_LOG 2>&1 &
 			TIMELIMIT_SMBD_PID=$!
 			MAKE_TEST_BINARY=
 			echo $TIMELIMIT_SMBD_PID > $PIDDIR/timelimit.smbd.pid


More information about the samba-technical mailing list