locked due to too many password retries. This should not cause an internal
server error but be treated as "auth denied".
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1125646 13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.3.13
+ *) mod_authnz_ldap: If the LDAP server returns constraint violation,
+ don't treat this as an error but as "auth denied". [Stefan Fritsch]
+
*) mod_proxy_fcgi|scgi: Add support for "best guess" of PATH_INFO
for SCGI/FCGI. PR 50880, 50851. [Mark Montague <mark catseye.org>,
Jim Jagielski]
#ifdef LDAP_INSUFFICIENT_RIGHTS
: (LDAP_INSUFFICIENT_RIGHTS == result) ? AUTH_DENIED
#endif
+#endif
+#ifdef LDAP_CONSTRAINT_VIOLATION
+ /* At least Sun Directory Server sends this if a user is
+ * locked. This is not covered by LDAP_SECURITY_ERROR.
+ */
+ : (LDAP_CONSTRAINT_VIOLATION == result) ? AUTH_DENIED
#endif
: AUTH_GENERAL_ERROR;
}