httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deckrider <deckri...@gmail.com>
Subject [users@httpd] BOTH ldap AND htpasswd/file authentication (apache httpd 2.2.6)
Date Tue, 05 Feb 2008 23:38:39 GMT
Hello,

I'm using apache httpd 2.2.6 on Solaris (for Subversion).

My trouble is trying to supplement ldap authentication with a few
htpasswd entries.  I can get each working separately, but not together
(it appears to occasionally work, but mostly causes hanging).

Works:

AuthType Basic
AuthName "Foo / Bar (https://foo.bar.com/)"
AuthBasicProvider ldap
AuthLDAPURL ldaps://foo.bar.com:2636/o=corp?corpLHS?sub?(objectclass=corpPerson)
<LimitExcept GET PROPFIND OPTIONS REPORT>
        Require ldap-user jsmith jdoe
</LimitExcept>

Works:

AuthType Basic
AuthName "Foo / Bar (https://foo.bar.com/)"
AuthBasicProvider file
AuthUserFile /opt/apache2/etc/passwd
<LimitExcept GET PROPFIND OPTIONS REPORT>
        Require user autobuild
</LimitExcept>

Does NOT Work:

AuthType Basic
AuthName "Foo / Bar (https://foo.bar.com/)"
AuthBasicProvider file ldap
AuthUserFile /opt/apache2/etc/passwd
AuthLDAPURL ldaps://foo.bar.com:2636/o=corp?corpLHS?sub?(objectclass=corpPerson)
<LimitExcept GET PROPFIND OPTIONS REPORT>
        Require user autobuild
        Require ldap-user jsmith jdoe
</LimitExcept>

I've also tried various combinations of the following (which I don't
really understand):

AuthzUserAuthoritative Off/On
AuthzLDAPAuthoritative Off/On

Is it possible that this is a bug that is fixed in some other version
of apache httpd?  Am I just clueless?

Thanks in advance!

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message