instructions
This commit is contained in:
14
local.protected.php
Normal file
14
local.protected.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?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';
|
||||
Reference in New Issue
Block a user