[CentOS] httpd LDAP auth module

Wed Jan 12 21:25:57 UTC 2011
Nico Kadel-Garcia <nkadel at gmail.com>

On Wed, Jan 12, 2011 at 11:28 AM, Joseph L. Casale
<jcasale at activenetwerx.com> wrote:
>>>I am looking at LDAP module for Apache httpd for authentication. The
>>>'yum install' gives me 'mod_authz_ldap.i386 0:0.26-9.el5_5.1', whereas
>>>on Apache documentation site I find mod_authNz_ldap module. Both
>                                                                    ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^
>
>>>modules appear to be different looking at available directives. Any
>>>clues or suggestions on which module should be used? Where can I find
>>>documentation for mod_authz_ldap?
>>
>>Look inside your httpd.conf file, it will answer that one for you. RHEL's httpd
>>supports ldap auth as shipped.
>>
>>
>>What I did in my httpd.conf file;
>
> /snip
>
> Your question was about modules, in your httpd.conf you find a list of _modules_
> it loads... That should remove the ambiguity around which documentation to follow.
>
> See the line:
> LoadModule authnz_ldap_module modules/mod_authnz_ldap.so

Except that these are often in /etc/httpd/conf.d/[service].conf. This
is certainly the case for mod_dav_svn and mod_perl and numerous other
setups.

Don't edit /etc/httpd/conf/httpd.conf directly if you can safely avoid
it: work in the module-specific configurations files, which makes the
configurations a lot more, well, modular.