Outils pour utilisateurs

Outils du site


netherver:dokuwiki

LDAP sur dokuwiki

plugins : authtype authldap

local.php contient

$conf['authtype'] = 'authldap';
$conf['useacl'] = 1;
$conf['plugin'][$conf['authtype']]['server'] = "ldap://127.0.0.1:389";
$conf['plugin'][$conf['authtype']]['version'] = '3';
$conf['plugin'][$conf['authtype']]['usertree'] = "ou=People,dc=directory,dc=nh";
$conf['plugin'][$conf['authtype']]['grouptree'] = "ou=Groups,dc=directory,dc=nh";
$conf['plugin'][$conf['authtype']]['userfilter'] = '(&(uid=%{user})(objectClass=inetOrgPerson))';
$conf['plugin']['authldap']['groupfilter']  = '(|(memberUid=%{user})(gidNumber=%{gid}))';
$conf['plugin'][$conf['authtype']]['groupkey'] = 'cn';
$conf['plugin']['authldap']['binddn']     = "cn=ldapservice,dc=directory,dc=nh";
$conf['plugin']['authldap']['bindpw']     = "blablabla";
$conf['plugin']['authldap']['starttls']   = 1;
$conf['plugin']['authldap']['modPass'] = 0;

le bindpw est recupéré en installant dokuwiki en module nethserver yum install nethserver-dokuwiki –enablerepo=stephdl la conf est dans /etc/dokuwiki …

netherver/dokuwiki.txt · Dernière modification : 2024/02/09 17:10 de 127.0.0.1