14 lines
903 B
PHP
14 lines
903 B
PHP
<?php
|
|
$conf['useacl'] = 1; //enable ACL
|
|
$conf['authtype'] = 'authldap'; //enable this Auth plugin
|
|
$conf['superuser'] = '@test' ;
|
|
$conf['plugin']['authldap']['version'] = 3 ;
|
|
$conf['plugin']['authldap']['server'] = 'ldaps://ldx1.formation.opendoor.fr' ;
|
|
$conf['plugin']['authldap']['usertree'] = 'ou=users,dc=example,dc=fr';
|
|
$conf['plugin']['authldap']['grouptree'] = 'ou=groups;dc=example,dc=fr';
|
|
$conf['plugin']['authldap']['userfilter'] = '(&(uid=%{user})(objectClass=posixAccount))';
|
|
$conf['plugin']['authldap']['groupfilter'] = '(&(objectClass=posixGroup)(memberUID=%{user}))';
|
|
$conf['plugin']['authldap']['attributes'] = array('cn', 'displayname', 'mail', 'givenname', 'objectclass', 'sn', 'uid', 'memberof');
|
|
$conf['plugin']['authldap']['binddn'] = 'uid=dokuwiki,ou=services,dc=example,dc=fr';
|
|
$conf['plugin']['authldap']['bindpw'] = '123Soleil';
|