httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47521] New: mod_alias fails to continue when mod_authnz_ldap fails to contact a server
Date Mon, 13 Jul 2009 15:59:45 GMT
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: apache@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-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message