summaryrefslogtreecommitdiff
path: root/source4/setup/tests
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-06-17 09:14:17 +1000
committerAndrew Bartlett <abartlet@samba.org>2009-06-18 13:49:30 +1000
commit2afc6df9b49a246129acdd7c8c24448c8cf3b6ef (patch)
tree2b570668e29057987d12c040ccd496e61c66a9ad /source4/setup/tests
parent0ac46b00abf045c6dcd48ed9a96f948fc8416138 (diff)
downloadsamba-2afc6df9b49a246129acdd7c8c24448c8cf3b6ef.tar.gz
samba-2afc6df9b49a246129acdd7c8c24448c8cf3b6ef.tar.bz2
samba-2afc6df9b49a246129acdd7c8c24448c8cf3b6ef.zip
s4:setup Add an option to 'setpassword' to force password change at next login
Diffstat (limited to 'source4/setup/tests')
-rwxr-xr-xsource4/setup/tests/blackbox_setpassword.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/setup/tests/blackbox_setpassword.sh b/source4/setup/tests/blackbox_setpassword.sh
index 89f1aa5858..70061f6ae7 100755
--- a/source4/setup/tests/blackbox_setpassword.sh
+++ b/source4/setup/tests/blackbox_setpassword.sh
@@ -18,4 +18,6 @@ testit "newuser" $PYTHON ./setup/newuser --configfile=$PREFIX/simple-dc/etc/smb.
testit "setpassword" $PYTHON ./setup/setpassword --configfile=$PREFIX/simple-dc/etc/smb.conf testuser --newpassword=testpass
+testit "setpassword" $PYTHON ./setup/setpassword --configfile=$PREFIX/simple-dc/etc/smb.conf testuser --newpassword=testpass --must-change-at-next-login
+
exit $failed