s3:selftest: create BUILTIN\\Administrators at startup
[metze/samba/wip.git] / source3 / script / tests / selftest.sh
index 94621841f55c1f1e60d7bab570f9dfd4c14e1cef..c02e0ee1830984753d581cff213321fd3a3d4830 100755 (executable)
@@ -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