This page is a translated version of the page Extension:LDAPAuthentication2 and the translation is 57% complete.
Other languages:
MediaWiki Stakeholders' Group Logo.svg This extension is maintained by a member of the MediaWiki Stakeholders' Group .
MWStake LDAPStack Icon.svg This extension is part of the LDAP Stack and requires the LDAPProvider extension to be installed first.
PluggableAuth Icon.svg This extension requires the PluggableAuth extension to be installed first.
MediaWikin laajennukset-ohje
OOjs UI icon advanced-invert.svg
Julkaisustatus: vakaa
MWStake LDAPStack Icon.svg
Viimeisin versio 1.0.1
Yhteensopivuuskäytäntö For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.
MediaWiki 1.31+
Composer mediawiki/ldap-authentication-2
Lisenssi GNU General Public License 2.0 tai myöhempi
  • $LDAPAuthentication2AllowLocalLogin
  • $LDAPAuthentication2UsernameNormalizer
Voit kääntää LDAPAuthentication2-laajennuksen mikäli se on saatavilla translatewiki.netissä

Check usage and version matrix.

Ongelmat Avoimet tehtävät · Raportoi ongelmasta


  • Download and place the file(s) in a directory called LDAPAuthentication2 in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'LDAPAuthentication2' );
  • Configure as required.
  •   TehtyNavigate to Special:Version on your wiki to verify that the extension is successfully installed.


Laajennuksen asetukset

Whether or not to display a "local" pseudo-domain in the domain selector on "Special:Login", thus allowing to authenticate against the local user database. (defaults to false )
Use this function for normalizing username for LDAP, for example 'strtolower'. Needed after migration from earlier Version. (defaults to "" )

Verkkotunnuksen asetukset

The LDAP user object attribute name that should be used as a local wiki user username (defaults to "samaccountname")
The LDAP user object attribute name that should be used as a local wiki user realname (defaults to "cn")
The LDAP user object attribute name that should be used as e-mail address for the local wiki user (defaults to "mail")


LDAP Stack Extensions are targeted/qualified for MediaWiki LTS releases only.
However, this table helps to determine which extension-releases to use across all recent versions.

MediaWiki Release Recommended Extension Version Test Status Latest Test Date
1.31 (LTS) LDAPxxx_REL1_31 Tested, Recommended maaliskuu 2020
1.32 LDAPxxx_REL1_31 Not Tested -
1.33 LDAPxxx_REL1_31 Tested maaliskuu 2020
1.34 LDAPxxx_REL1_31 Tested maaliskuu 2020
1.35 (LTS Planned) LDAPxxx_master Tested maaliskuu 2020

Further Reading