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
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