Bug 1817043
Summary: | IdM password policy misleading error message | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | aheverle |
Component: | ipa | Assignee: | Florence Blanc-Renaud <frenaud> |
Status: | CLOSED NOTABUG | QA Contact: | ipa-qe <ipa-qe> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.7 | CC: | rcritten, tscherf |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-25 19:17:14 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
aheverle
2020-03-25 13:20:56 UTC
Hi, the RHEL 7 documentation "Linux Domain Identity, Authentication, and Policy Guide" has the following section related to password policies: "28.2. How Password Policies Work in IdM" [1] and defines the following: -----8<----- Using a character three or more times in a row decreases the character class by one. For example: Secret1 has 3 character classes: uppercase, lowercase, digits Secret111 has 2 character classes: uppercase, lowercase, digits, and a -1 penalty for using 1 repeatedly ----->8----- IMO the behavior is consistent with the doc. [1] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/linux_domain_identity_authentication_and_policy_guide/pwd-policies-how (In reply to Florence Blanc-Renaud from comment #2) > Hi, > > the RHEL 7 documentation "Linux Domain Identity, Authentication, and Policy > Guide" has the following section related to password policies: "28.2. How > Password Policies Work in IdM" [1] and defines the following: > -----8<----- > > Using a character three or more times in a row decreases the character > class by one. For example: > > Secret1 has 3 character classes: uppercase, lowercase, digits > Secret111 has 2 character classes: uppercase, lowercase, digits, and a > -1 penalty for using 1 repeatedly > > ----->8----- > > IMO the behavior is consistent with the doc. > > [1] > https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/ > html/linux_domain_identity_authentication_and_policy_guide/pwd-policies-how Can the message for failure reflect/detect the 3 consecutive characters? Hi, I don't think it's possible to handle differently the error if it's caused by 3 repeating characters, as the possible return codes are defined by MIT Kerberos API: KADM5_PASS_Q_TOOSHORT: password should be longer KADM5_PASS_Q_CLASS: password must have more character classes KADM5_PASS_Q_DICT: password contains dictionary words KADM5_PASS_Q_GENERIC: unspecified quality failure (In reply to Florence Blanc-Renaud from comment #4) > Hi, > > I don't think it's possible to handle differently the error if it's caused > by 3 repeating characters, as the possible return codes are defined by MIT > Kerberos API: > KADM5_PASS_Q_TOOSHORT: password should be longer > KADM5_PASS_Q_CLASS: password must have more character classes > KADM5_PASS_Q_DICT: password contains dictionary words > KADM5_PASS_Q_GENERIC: unspecified quality failure Thanks! Should be good to close. |