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

15 lines
800 B
PHP

<?php
// Voir https://www.dokuwiki.org/fr:auth:ldap
$conf['useacl'] = 1; //enable ACL
$conf['authtype'] = 'authldap'; //enable this Auth plugin
$conf['superuser'] = 'CHANGEME user ou @group' ;
$conf['plugin']['authldap']['version'] = 3 ;
$conf['plugin']['authldap']['server'] = 'CHANGEME' ;
$conf['plugin']['authldap']['usertree'] = 'CHANGEME';
$conf['plugin']['authldap']['grouptree'] = 'CHANGEME';
$conf['plugin']['authldap']['userfilter'] = 'CHANGEME';
$conf['plugin']['authldap']['groupfilter'] = 'CHANGEME';
$conf['plugin']['authldap']['attributes'] = array('cn', 'displayname', 'mail', 'givenname', 'objectclass', 'sn', 'uid', 'memberof');
$conf['plugin']['authldap']['binddn'] = 'CHANGEME';
$conf['plugin']['authldap']['bindpw'] = 'CHANGEME';