diff --git a/tests/ldap/check-ldap.in b/tests/ldap/check-ldap.in index 88fa2c175..e1d6ed45b 100644 --- a/tests/ldap/check-ldap.in +++ b/tests/ldap/check-ldap.in @@ -97,6 +97,13 @@ ${kadmin} \ ${kadmin} add -p foo --use-defaults foo@${R} || exit 1 ${kadmin} add -p foo --use-defaults bar@${R} || exit 1 +${kadmin} cpw --random-password bar@${R} > /dev/null || exit 1 +${kadmin} cpw --random-password bar@${R} > /dev/null || exit 1 +${kadmin} cpw --random-password bar@${R} > /dev/null || exit 1 + +${kadmin} cpw --random-password suser@${R} > /dev/null|| exit 1 +${kadmin} cpw --password=foo suser@${R} || exit 1 + ${kadmin} list '*' > /dev/null || exit 1 echo foo > ${objdir}/foopassword