On Tue, Jan 11, 2011 at 8:17 PM, Joseph L. Casale <span dir="ltr"><<a href="mailto:jcasale@activenetwerx.com">jcasale@activenetwerx.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
>I am looking at LDAP module for Apache httpd for authentication. The<br>
>'yum install' gives me 'mod_authz_ldap.i386 0:0.26-9.el5_5.1', whereas<br>
>on Apache documentation site I find mod_authNz_ldap module. Both<br>
>modules appear to be different looking at available directives. Any<br>
>clues or suggestions on which module should be used? Where can I find<br>
>documentation for mod_authz_ldap?<br>
<br>
Look inside your httpd.conf file, it will answer that one for you. RHEL's httpd<br>
supports ldap auth as shipped.<br></blockquote><div><br><br>What I did in my httpd.conf file;<br><br>AuthName "Company"<br>AuthType Basic<br>AuthBasicProvider ldap<br>AuthzLDAPAuthoritative off<br>AuthLDAPURL ldap://<a href="http://ldap1.company.com/ou=people,dc=company,dc=com?uid">ldap1.company.com/ou=people,dc=company,dc=com?uid</a><br>
AuthLDAPURL ldap://<a href="http://ldap2.company.com/ou=people,dc=company,dc=com?uid">ldap2.company.com/ou=people,dc=company,dc=com?uid</a><br>Require valid-user<br><br>This brings up the apache dialogue window and does provide a good layer of security as if you don't authenticate, you don't even get the URL to phish for data.<br>
<br>- aurf <br></div></div>