DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:authldap:apacheds

LDAP Auth Plugin: ApacheDS

Here is a configuration that worked with authLDAP Auth Plugin to authenticate with Apache Directory Server.

Configuration

Use the Config Manager or add it to the conf/local.protected.php to store the config protected.

conf/local.protected.php
<?php
/**
 * ApacheDS configuration for LDAP Auth Plugin
 * See https://www.dokuwiki.org/plugin:authldap:apacheds for details and explanation
 */
$conf['authtype']                          = 'authldap';
$conf['plugin']['authldap']['server']      = 'ldap://1.2.3.4:389';
$conf['plugin']['authldap']['usertree']    = 'ou=users, dc=server, dc=tld';
$conf['plugin']['authldap']['grouptree']   = 'ou=groups, dc=server, dc=tld';
$conf['plugin']['authldap']['userfilter']  = '(&(uid=%{user})(objectClass=person))';
$conf['plugin']['authldap']['groupfilter'] = '(&(objectClass=groupOfUniqueNames)(uniqueMember=%{dn}))';
$conf['plugin']['authldap']['version']     = 3;
plugin/authldap/apacheds.txt · Last modified: 2013-03-26 12:10 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