[Fedora-directory-users] FDS and Apache

Craig White craigwhite at azapple.com
Wed Jan 25 03:56:06 UTC 2006


On Tue, 2006-01-24 at 13:59 -0700, Richard Megginson wrote:
> Kevin Kovach wrote:
> 
> > The HowTo for integration with Apache 
> > (http://directory.fedora.redhat.com/wiki/Howto:Apache) is currently 
> > blank.  Can somebody advise on another source for information on 
> > getting some type of mod_authnz_ldap working between FDS and Apache?  
> > Thanks.
> 
> Any information regarding how to point mod_authnz_ldap at any LDAP 
> server (e.g. openldap) would in general apply to FDS as well.
> 
----
fwiw... (RHEL 4 clone)
# rpm -q httpd mod_authz_ldap
httpd-2.0.52-22.ent.centos4
mod_authz_ldap-0.26-2

I have a directory /var/www/html/files

I have /etc/httpd/conf.d/authz_ldap.conf

</IfModule>
   <Location /files>
        AuthzLDAPMethod ldap
        AuthzLDAPProtocolVersion 3
        AuthzLDAPServer localhost
        AuthzLDAPUserBase ou=People,ou=Accounts,dc=example,dc=com
        AuthzLDAPUserKey uid
        AuthzLDAPUserScope onelevel
        AuthType basic
        AuthName "phpldapadmin"
        require valid-user

   </Location>
</IfModule>

This requires a valid user (dn) login/userPassword

I've not had success with groups but I haven't played with it much.

Craig




More information about the Fedora-directory-users mailing list