From 9a8ded9ff1be03e6ecd63c8c6f9ee60f6ee707cd Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 13 Mar 2004 10:03:58 +0000 Subject: [PATCH] Fix for password policy draft 7 --- include/ldap.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, -- 2.39.5