mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Fix for password policy draft 7
This commit is contained in:
parent
27d0e14a12
commit
9a8ded9ff1
@ -1773,13 +1773,15 @@ ldap_passwd_s LDAP_P((
|
||||
* LDAP Password Policy controls
|
||||
* in ppcontrol.c
|
||||
*/
|
||||
#define LDAP_API_FEATURE_PASSWORD_POLICY 1000
|
||||
|
||||
typedef enum passpolicyerror_enum {
|
||||
PP_passwordExpired = 0,
|
||||
PP_accountLocked = 1,
|
||||
PP_changeAfterReset = 2,
|
||||
PP_passwordModNotAllowed = 3,
|
||||
PP_mustSupplyOldPassword = 4,
|
||||
PP_invalidPasswordSyntax = 5,
|
||||
PP_insufficientPasswordQuality = 5,
|
||||
PP_passwordTooShort = 6,
|
||||
PP_passwordTooYoung = 7,
|
||||
PP_passwordInHistory = 8,
|
||||
|
Loading…
Reference in New Issue
Block a user