summaryrefslogtreecommitdiff
path: root/source4/setup/tests
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-05-08 13:55:09 +0200
committerStefan Metzmacher <metze@samba.org>2010-05-10 12:20:26 +0200
commit6ee53309a180d32cf6df1a72fde30c9455d5364d (patch)
tree974b56fbca6a755c9373da8991bfcb0ab26c57ab /source4/setup/tests
parent01347844f5b224d567195f5a2e235491b6b174f5 (diff)
downloadsamba-6ee53309a180d32cf6df1a72fde30c9455d5364d.tar.gz
samba-6ee53309a180d32cf6df1a72fde30c9455d5364d.tar.bz2
samba-6ee53309a180d32cf6df1a72fde30c9455d5364d.zip
s4:blackbox password tests - more complex passwords
Diffstat (limited to 'source4/setup/tests')
-rwxr-xr-xsource4/setup/tests/blackbox_newuser.sh4
-rwxr-xr-xsource4/setup/tests/blackbox_setpassword.sh6
2 files changed, 5 insertions, 5 deletions
diff --git a/source4/setup/tests/blackbox_newuser.sh b/source4/setup/tests/blackbox_newuser.sh
index 30e6830be5..113b667b59 100755
--- a/source4/setup/tests/blackbox_newuser.sh
+++ b/source4/setup/tests/blackbox_newuser.sh
@@ -18,13 +18,13 @@ net="./bin/net"
CONFIG="--configfile=$PREFIX/simple-dc/etc/smb.conf"
-testit "newuser" $net newuser $CONFIG testuser testpass
+testit "newuser" $net newuser $CONFIG testuser testp@ssw0Rd
# check the enable account script
testit "enableaccount" $net enableaccount $CONFIG testuser
# check the enable account script
-testit "setpassword" $net setpassword $CONFIG testuser --newpassword=testpass2
+testit "setpassword" $net setpassword $CONFIG testuser --newpassword=testp@ssw0Rd2
# check the setexpiry script
testit "noexpiry" $net setexpiry $CONFIG testuser --noexpiry
diff --git a/source4/setup/tests/blackbox_setpassword.sh b/source4/setup/tests/blackbox_setpassword.sh
index 9f8fa6d2c1..039278f77d 100755
--- a/source4/setup/tests/blackbox_setpassword.sh
+++ b/source4/setup/tests/blackbox_setpassword.sh
@@ -16,11 +16,11 @@ net="./bin/net"
testit "simple-dc" $PYTHON ./setup/provision --server-role="dc" --domain=FOO --realm=foo.example.com --domain-sid=S-1-5-21-4177067393-1453636373-93818738 --targetdir=$PREFIX/simple-dc
-testit "newuser" $net newuser --configfile=$PREFIX/simple-dc/etc/smb.conf testuser testpass
+testit "newuser" $net newuser --configfile=$PREFIX/simple-dc/etc/smb.conf testuser testp@ssw0Rd
-testit "setpassword" $net setpassword --configfile=$PREFIX/simple-dc/etc/smb.conf testuser --newpassword=testpass
+testit "setpassword" $net setpassword --configfile=$PREFIX/simple-dc/etc/smb.conf testuser --newpassword=testp@ssw0Rd
-testit "setpassword" $net setpassword --configfile=$PREFIX/simple-dc/etc/smb.conf testuser --newpassword=testpass --must-change-at-next-login
+testit "setpassword" $net setpassword --configfile=$PREFIX/simple-dc/etc/smb.conf testuser --newpassword=testp@ssw0Rd --must-change-at-next-login
testit "pwsettings" $net pwsettings --quiet set --configfile=$PREFIX/simple-dc/etc/smb.conf --complexity=default --history-length=default --min-pwd-length=default --min-pwd-age=default --max-pwd-age=default