From 47ab0ed8edd9d2c8b1ca76cfc3bb3f3ae0917f51 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 12 Jun 2005 06:35:18 +0000 Subject: r7499: ensure that the account we run tests as ("Administrator") maps to the unixName that we are running as in the test suite. Otherwise files are created as a user without any entry in the sam, so the ACL doesn't allow that user read permission when it should. This should fix the RAW-ACLS test in the build farm. (This used to be commit 30445483e4facb0a1d8a5979a2eac6c166193c09) --- source4/script/tests/selftest.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/script') diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh index 4f3233a917..880a2f097b 100755 --- a/source4/script/tests/selftest.sh +++ b/source4/script/tests/selftest.sh @@ -3,6 +3,7 @@ DOMAIN=SAMBADOMAIN USERNAME=administrator REALM=$DOMAIN PASSWORD=penguin +ROOT=$USER SRCDIR=`pwd` if [ $# -lt 1 ] @@ -38,7 +39,8 @@ incdir=`dirname $0` rm -rf $PREFIX/* mkdir -p $PRIVATEDIR $LIBDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR -./setup/provision.pl --quiet --outputdir $PRIVATEDIR --domain $DOMAIN --realm $REALM --adminpass $PASSWORD +./setup/provision.pl --quiet --outputdir $PRIVATEDIR --domain $DOMAIN --realm $REALM \ + --adminpass $PASSWORD --root=$ROOT cat >$CONFFILE<