Files
ldx_application/local.protected.php
2022-11-29 22:30:11 +01:00

14 lines
904 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://plop1.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';