]> git.sur5r.net Git - openldap/commitdiff
Fix for password policy draft 7
authorHoward Chu <hyc@openldap.org>
Sat, 13 Mar 2004 10:03:58 +0000 (10:03 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 13 Mar 2004 10:03:58 +0000 (10:03 +0000)
include/ldap.h

index 453931ac2a54848077b82aa133a56a4231622d9e..2aab95d0af5aba397205e5a79486f434e071094b 100644 (file)
@@ -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,