From: Howard Chu Date: Sat, 13 Mar 2004 10:03:58 +0000 (+0000) Subject: Fix for password policy draft 7 X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~301 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9a8ded9ff1be03e6ecd63c8c6f9ee60f6ee707cd;p=openldap Fix for password policy draft 7 --- diff --git a/include/ldap.h b/include/ldap.h index 453931ac2a..2aab95d0af 100644 --- a/include/ldap.h +++ b/include/ldap.h @@ -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,