https://issues.apache.org/bugzilla/show_bug.cgi?id=47521
Summary: mod_alias fails to continue when mod_authnz_ldap fails to contact a server Product: Apache httpd-2 Version: 2.3-HEAD Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: mod_alias AssignedTo: bugs@httpd.apache.org ReportedBy: apa...@szynaka.com Using the configuration below the mod_alias module does not fail through to the test-file section, but instead stops when mod_authnz_ldap fails to connect to the server. This seems to be a situation in which mod_alias should still continue to the next Proivider. <AuthnProviderAlias ldap test-ldap> AuthLDAPBindDN cn=youruser,o=ctx AuthLDAPBindPassword yourpassword AuthLDAPURL ldap://ldap.host/o=ctx </AuthnProviderAlias> <AuthnProviderAlias file test-file> AuthUserFile /usr/local/apache/conf/htpasswd.users </AuthnProviderAlias> <Directory "/usr/local/apache/htdocs"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all AuthBasicProvider test-ldap test-file AuthType Basic AuthName 'Auth Test' AuthzLDAPAuthoritative off Require valid-user </Directory> The issue seems to be with the fact that mod_authnz_ldap returns AUTH_GENERAL_ERROR on a failure. Unfortunately my C is not good enough to supply a patch to mod_alias to compensate for that response. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org