From b28b6a4565870ac402b3678b4eecfe8e30fb0a73 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Mon, 14 May 2018 13:48:18 +0100 Subject: s4/setup/tests: Add test for non ascii password setting samba-tool Bug: https://bugzilla.samba.org/show_bug.cgi?id=13435 Signed-off-by: Noel Power Reviewed-by: Andrew Bartlett --- source4/setup/tests/blackbox_setpassword.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source4/setup/tests/blackbox_setpassword.sh b/source4/setup/tests/blackbox_setpassword.sh index 8055740f101..ccc94c3f05d 100755 --- a/source4/setup/tests/blackbox_setpassword.sh +++ b/source4/setup/tests/blackbox_setpassword.sh @@ -25,6 +25,8 @@ testit "setpassword" $samba_tool user setpassword --configfile=$PREFIX/simple-dc testit "setpassword" $samba_tool user setpassword --configfile=$PREFIX/simple-dc/etc/smb.conf testuser --newpassword=testp@ssw0Rd --must-change-at-next-login +testit "setpassword" $samba_tool user setpassword --configfile=$PREFIX/simple-dc/etc/smb.conf testuser --newpassword=Täst123 --must-change-at-next-login + testit "passwordsettings" $samba_tool domain passwordsettings set --quiet --configfile=$PREFIX/simple-dc/etc/smb.conf --complexity=default --history-length=default --min-pwd-length=default --min-pwd-age=default --max-pwd-age=default --store-plaintext=on exit $failed -- cgit v1.2.1