'localhost', ); $wgLDAPUseLocal = false; $wgLDAPEncryptionType = array( 'mediawiki' => 'clear' ); $wgLDAPSearchAttributes = array( 'mediawiki' => 'uid' ); $wgLDAPBaseDNs = array( 'mediawiki' => 'dc=yunohost,dc=org' ); $wgLDAPGroupBaseDNs = array( 'mediawiki' => 'dc=yunohost,dc=org' ); $wgLDAPUserBaseDNs = array( 'mediawiki' => 'dc=yunohost,dc=org' ); $wgLDAPPreferences = array( 'mediawiki' => array('email' => 'mail', 'realname' => 'cn') ); $wgLDAPDebug = 0; #RemoteUser require_once 'extensions/Auth_remoteuser/Auth_remoteuser.php'; $wgAuth = new Auth_remoteuser(); $wgAuthRemoteuserAuthz = true; $wgAuthRemoteuserName = $_SERVER["AUTHENTICATE_CN"]; $wgAuthRemoteuserMail = $_SERVER["AUTHENTICATE_MAIL"];