diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-28 17:24:38 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-28 17:32:50 +0100 |
commit | a849183f9492d09ccd7e273f955d4d8f2668fdf3 (patch) | |
tree | b4dde1b329f3d50bc81c7219981d8ada4d5026d0 /source3/script/tests/selftest.sh | |
parent | d6497aa0894b20392d759e1762ad1bb6ab29f5c8 (diff) | |
download | samba-a849183f9492d09ccd7e273f955d4d8f2668fdf3.tar.gz samba-a849183f9492d09ccd7e273f955d4d8f2668fdf3.tar.bz2 samba-a849183f9492d09ccd7e273f955d4d8f2668fdf3.zip |
s3:selftest: create BUILTIN\\Administrators at startup
And add and remove the alias member via net rpc group
instead of net sam.
metze
Diffstat (limited to 'source3/script/tests/selftest.sh')
-rwxr-xr-x | source3/script/tests/selftest.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh index 94621841f5..c02e0ee183 100755 --- a/source3/script/tests/selftest.sh +++ b/source3/script/tests/selftest.sh @@ -345,6 +345,13 @@ START=`date` bin/smbclient $CONFIGURATION -L $SERVER_IP -U% -p 139 | head -2 MAKE_TEST_BINARY="" + MAKE_TEST_BINARY="bin/net" + printf "%s" "creating BUILTIN\\Administrators..." + bin/net -s $SERVERCONFFILE sam createbuiltingroup \ + Administrators > /dev/null 2>&1 || exit 1 + echo "DONE" + MAKE_TEST_BINARY="" + failed=0 . $SCRIPTDIR/tests_$SUBTESTS.sh |