It's better when it's simple

User Tools

Site Tools


LDAP Auth Backend: ApacheDS Example

Since the release 2013-05-10 “Weatherwax”
see AuthLDAP plugin ApacheDS config page

For releases 2012-10-13 “Adora Belle” and older
see info below

Here is a configuration that worked with LDAP backend for Apache Directory Server.

$conf['authtype']                    = 'ldap';
$conf['auth']['ldap']['server']      = 'ldap://';
$conf['auth']['ldap']['usertree']    = 'ou=users, dc=server, dc=tld';
$conf['auth']['ldap']['grouptree']   = 'ou=groups, dc=server, dc=tld';
$conf['auth']['ldap']['userfilter']  = '(&(uid=%{user})(objectClass=person))';
$conf['auth']['ldap']['groupfilter'] = '(&(objectClass=groupOfUniqueNames)(uniqueMember=%{dn}))';
$conf['auth']['ldap']['version']     = 3;
auth/ldap_apacheds.txt · Last modified: 2013-09-18 00:23 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki