[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5767) ppolicy doesn't recognize the smbkrb5-specific {K5KEY} storage scheme

Guillaume.Rousse@inria.fr wrote:
> Full_Name: Guillaume Rousse
> Version: 2.4.11
> OS: linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> When using password policy, with pwdCheckQuality set to 1, ppolicy accept to
> change the password of a user to special values such as {SASL} without
> complaining.
> However, trying to use {K5KEY} instead doesn't work, as it doesn't satisfy
> quality checking:
> ldap_modify: Constraint violation (19)
> additional info: Password fails quality checking policy

This is not a bug; ppolicy quality checking only works when a plaintext 
password is provided. The fact that you saw "{SASL}" work is probably just a 
coincidence, i.e., --enable-spasswd is not set by default in configure, so 
"{SASL}" is just treated as a plaintext string, not a password scheme.

   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/