Skip to content
Search

Apache:Httpd:LDAP

lastmod 2018-08-17created 2017-01-031 edits

Describes how to authenticate with Apache httpd using LDAP.

Modules

The required modules are as follows.

LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so

Group auth

LDAP group authentication works as follows. (Uses the SVN LDAP authentication for Geosoft's Roadie2 development as an example.)

AuthType Basic
AuthName "[AUTH_NAME]"

AuthBasicProvider ldap
AuthLDAPURL "[LDAP_URL]"
AuthzLDAPAuthoritative on
AuthLDAPGroupAttribute uniqueMember
AuthLDAPGroupAttributeIsDN on

Require ldap-group cn=roadie2,cn=svn,dc=pnd,dc=geosoft

See also