diff options
Diffstat (limited to 'testprogs/blackbox/test_kinit_mit.sh')
-rwxr-xr-x | testprogs/blackbox/test_kinit_mit.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testprogs/blackbox/test_kinit_mit.sh b/testprogs/blackbox/test_kinit_mit.sh index 57d0f74d28d..d28caecd603 100755 --- a/testprogs/blackbox/test_kinit_mit.sh +++ b/testprogs/blackbox/test_kinit_mit.sh @@ -131,6 +131,19 @@ testit "set user password with kerberos ccache" $VALGRIND $PYTHON $samba_tool us testit "enable user with kerberos cache" $VALGRIND $PYTHON $samba_enableaccount nettestuser -H ldap://$SERVER -k yes $@ || failed=`expr $failed + 1` ########################################################### +### Test kinit with canonicalization +########################################################### + +# This is currently not working due to an upstream bug in MIT Kerberos. The +# test will ensure that we get notified when we can turn on canonicalization +# in ads_krb5_chg_password(). +# https://bugzilla.samba.org/show_bug.cgi?id=14155 +upperusername=$(echo $USERNAME | tr '[a-z]' '[A-Z]') +testit "kinit with canonicalize" $samba_texpect $PREFIX/tmpkinitscript $samba_kinit -C $upperusername@$REALM -S kadmin/changepw@$REALM || failed=`expr $failed + 1` + +$samba_kdestroy + +########################################################### ### Test kinit with user credentials ########################################################### |