From 766c12bc485d04c143079afca93b8ebba3f77f67 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 17 Jun 2008 23:51:23 +0200 Subject: testsuite: don't give the testuser administrative rights globally. It breaks RPC-SAMBA3-GETUSERNAME for reasons I have not quite understood yet. Somhow loosing rights fails when the user belogns to BUILTIN\Administrators at some point. Michael (cherry picked from commit 9fe99c69f35b005b66c1eacb5d999cc73f1bb521) (cherry picked from commit cebe6225d5bc584b24c2bebf30db353653df34b0) --- source/script/tests/selftest.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/source/script/tests/selftest.sh b/source/script/tests/selftest.sh index 5cec6d6d03e..15e48b00efb 100755 --- a/source/script/tests/selftest.sh +++ b/source/script/tests/selftest.sh @@ -293,15 +293,6 @@ START=`date` bin/smbclient $CONFIGURATION -L $SERVER_IP -U% -p 139 | head -2 MAKE_TEST_BINARY="" - MAKE_TEST_BINARY="bin/net" - printf "%s" "GIVING USER ${USERNAME} ADMINISTRATIVE RIGHTS..." - bin/net -s $SERVERCONFFILE sam createbuiltingroup \ - Administrators > /dev/null 2>&1 || exit 1 - bin/net -s $SERVERCONFFILE sam addmem \ - BUILTIN\\Administrators $USERNAME > /dev/null 2>&1 || exit 1 - echo "DONE" - MAKE_TEST_BINARY="" - failed=0 . $SCRIPTDIR/tests_$SUBTESTS.sh -- cgit v1.2.1