solution
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
<?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['superuser'] = '@test' ;
|
||||
$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']['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'] = 'CHANGEME';
|
||||
$conf['plugin']['authldap']['bindpw'] = 'CHANGEME';
|
||||
$conf['plugin']['authldap']['binddn'] = 'uid=dokuwiki,ou=services,dc=example,dc=fr';
|
||||
$conf['plugin']['authldap']['bindpw'] = '123Soleil';
|
||||
|
||||
Reference in New Issue
Block a user