summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-06-17 23:51:23 +0200
committerMichael Adam <obnox@samba.org>2008-06-17 23:51:23 +0200
commitaeec9c7f553963625d4c9b5378eb18d8551a1b14 (patch)
tree39bd592331d454ee6c3410aa043cb154d32d778b /source3/script
parentc8dfed63a62c9caed14af9b67197dc5243b0c3ee (diff)
downloadsamba-aeec9c7f553963625d4c9b5378eb18d8551a1b14.tar.gz
samba-aeec9c7f553963625d4c9b5378eb18d8551a1b14.tar.bz2
samba-aeec9c7f553963625d4c9b5378eb18d8551a1b14.zip
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 (This used to be commit 9fe99c69f35b005b66c1eacb5d999cc73f1bb521)
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/tests/selftest.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh
index 5cec6d6d03..15e48b00ef 100755
--- a/source3/script/tests/selftest.sh
+++ b/source3/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