$conf['superuser'] = 'bquiller'; $conf['superuser'] = $conf['superuser'].',@GROUP-ADMIN'; $conf['authtype'] = 'authsplit'; $conf['plugin']['authsplit']['primary_authplugin'] = 'authcas'; $conf['plugin']['authsplit']['secondary_authplugin'] = 'authldap'; $conf['plugin']['authcas']['handlelogoutrequestTrustedHosts'] = Array(""); $conf['plugin']['authcas']['server'] = 'cas.unimes.fr'; $conf['plugin']['authcas']['port'] = 443; // CAS server root parameter $conf['plugin']['authcas']['rootcas'] = '/cas'; $conf['plugin']['authcas']['hostURL'] = 'https://wiki.unimes.fr'; // automatically log the user when there is already a CAS session opened $conf['plugin']['authcas']['autologin'] = 1; $conf['plugin']['authcas']['caslogout'] = 1; // log out from wiki when loggin out from CAS(should work with CAS V3, experimental) $conf['plugin']['authcas']['handlelogoutrequest'] = 1; // force cas connection (set to false if you want an anonymous page on your wiki) $conf['plugin']['authcas']['forceauthentication'] = 'false'; $conf['plugin']['authcas']['logFile']=""; $conf['plugin']['authldap']['binddn'] = 'cn=root,dc=unimes,dc=fr'; $conf['plugin']['authldap']['bindpw'] = 'iaounimes'; $conf['plugin']['authldap']['server'] = 'ldap://gromit.unimes.fr:389'; #instead of the above two settings $conf['plugin']['authldap']['usertree'] = 'ou=people,dc=unimes,dc=fr'; $conf['plugin']['authldap']['grouptree'] = 'ou=groups,dc=unimes,dc=fr'; $conf['plugin']['authldap']['userfilter'] = '(uid=%{user})'; $conf['plugin']['authldap']['groupfilter'] = '(member=uid=%{user},ou=people,dc=unimes,dc=fr)'; $conf['plugin']['authldap']['version'] = 3;