LDAP
This commit is contained in:
16
Sio2/SISR/20-ldap/local.php
Normal file
16
Sio2/SISR/20-ldap/local.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
$conf['title'] = 'labo2 ps wiki';
|
||||
$conf['lang'] = 'fr';
|
||||
$conf['license'] = 'cc-by-sa';
|
||||
$conf['useacl'] = 1;
|
||||
$conf['authtype'] = 'authldap';
|
||||
$conf['superuser'] = '@admin';
|
||||
$conf['disableactions'] = 'register';
|
||||
$conf['plugin']['authldap']['server'] = 'ldap://localhost:389';
|
||||
$conf['plugin']['authldap']['usertree'] = 'ou=people,dc=labo51,dc=lan';
|
||||
$conf['plugin']['authldap']['grouptree'] = 'ou=groups,dc=labo51,dc=lan';
|
||||
$conf['plugin']['authldap']['userfilter'] = '(&(uid=%{user})(objectClass=posixAccount))';
|
||||
$conf['plugin']['authldap']['groupfilter'] = '(&(objectClass=posixGroup)(memberUID=%{user}))';
|
||||
$conf['plugin']['authldap']['version'] = 3;
|
||||
$conf['plugin']['authldap']['debug'] = 1;
|
||||
$conf['plugin']['authldap']['passcrypt'] = 'ssha';
|
Reference in New Issue
Block a user