mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
7c6a86882f
* [MISC] Catch OpenLDAP ppolicy error Further to the discussion over at #361, this change now ensures that OpenLDAP password complexity errors are caught and appropriately handled. This change also includes the PasswordComplexity test suite in the LDAP integration suite. This is because a ppolicy has been setup and enforced. * Remove password history for integration tests * Adjust max failures due to regulation trigger * Fix error handling for password resets * Refactor and include code suggestions
25 lines
523 B
Plaintext
25 lines
523 B
Plaintext
dn: ou=policies,{{ LDAP_BASE_DN }}
|
|
ou: policies
|
|
objectClass: organizationalUnit
|
|
|
|
dn: cn=password,ou=policies,{{ LDAP_BASE_DN }}
|
|
objectClass: pwdPolicy
|
|
objectClass: person
|
|
objectClass: top
|
|
cn: passwordDefault
|
|
sn: passwordDefault
|
|
pwdAttribute: userPassword
|
|
pwdCheckQuality: 1
|
|
pwdMinAge: 0
|
|
pwdMaxAge: 0
|
|
pwdMinLength: 3
|
|
pwdInHistory: 0
|
|
pwdMaxFailure: 5
|
|
pwdFailureCountInterval: 0
|
|
pwdLockout: TRUE
|
|
pwdLockoutDuration: 0
|
|
pwdAllowUserChange: TRUE
|
|
pwdExpireWarning: 0
|
|
pwdGraceAuthNLimit: 0
|
|
pwdMustChange: FALSE
|
|
pwdSafeModify: FALSE |