0

I'm trying to integrate an implementation of an LDAP user interface with the ability to change Kerberos user password.

I'm using a non-interactive command for this task:

kadmin -k -t $KEYTABLOCATION -p $SERVICEPRINCIPAL -q "cpw $PRINCIPAL -pw $PASSWORD"

What I found is that this command ignores the password policy assigned to the principal and the complexity rules.

If used:

kpasswd $PRINCIPAL

Then password policy rules are respected. But I can't use this statement in a non-interactive mode.

What would be the correct way to proceed?

Thank you so much.

Kind Regards.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.