DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:authldap:osx

LDAP Auth Plugin: Open Directory

Below are example configurations for use with the authLDAP plugin and the Open Directory of Mac OS X 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
/**
 * Open Directory configuration for LDAP Auth Plugin
 * See https://www.dokuwiki.org/plugin:authldap:osx for details and explanation
 */
$conf['plugin']['authldap']['server']      = 'odmaster.your.domain.com';
$conf['plugin']['authldap']['usertree']    = 'cn=users,dc=your,dc=domain,dc=com';
$conf['plugin']['authldap']['grouptree']   = 'cn=groups,dc=your,dc=domain,dc=com';
$conf['plugin']['authldap']['userfilter']  = '(&(uid=%{user})(objectClass=posixAccount))';
$conf['plugin']['authldap']['groupfilter'] = '(&(objectClass=posixGroup)(memberUID=%{uid}))';
$conf['plugin']['authldap']['version']     = 3;
plugin/authldap/osx.txt · Last modified: 2014-01-07 16:23 by 89.99.204.111