Hide Forgot
Description of problem: The user can't be authenticated when is generated non hashed pin. How reproducible: Genenerate none hashed pin wit setpin tool. Reason: Have a look in com.netscape.cms.authentication.UidPwdPinDirAuthentication class What actualy system does? 1. Look in LDAP 2. Fetch pin attribute 3. ALWAYS concatenate userdn with value in ldap pin attribute 4. Look in first byte - to hash or not to hash 5. If value is '-' there is no hashing. 6. The validation is comparison between what user is typed in PIN field in web form and "userdn + pin" string. (Expected that system compare entered pin with ldap pin value) Additional info: When setpin generate hashed pin it also concatenate userdn with pin. That string (userdn + pin) then is hashed with sha1 hash.(see setpin.c file) This is the reason that user can be authenticated when setpin generate pins. See also bug: #761603