Erweiterung:LDAPAuthentication2

This page is a translated version of the page Extension:LDAPAuthentication2 and the translation is 71% complete.
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.
MediaWiki-Erweiterungen
OOjs UI icon advanced-invert.svg
LDAPAuthentication2
Freigabestatus: stabil
MWStake LDAPStack Icon.svg
Autor(en)
Letzte Version 1.0.1
Kompatibilitätspolitik 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
Lizenz GNU General Public License 2.0 oder neuer
Herunterladen
  • $LDAPAuthentication2AllowLocalLogin
  • $LDAPAuthentication2UsernameNormalizer
Übersetze die LDAPAuthentication2-Erweiterung, wenn sie auf translatewiki.net verfügbar ist
Probleme Offene Aufgaben · Einen Fehler melden

Installation

  • Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens LDAPAuthentication2 im Ordner extensions/ ablegen.
  • Folgenden Code am Ende deiner LocalSettings.php hinzufügen:
    wfLoadExtension( 'LDAPAuthentication2' );
    
  • Configure as required.
  •   Erledigt – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.

Konfiguration

Erweiterungseinstellungen

$LDAPAuthentication2AllowLocalLogin
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 )
$LDAPAuthentication2UsernameNormalizer
Use this function for normalizing username for LDAP, for example 'strtolower'. Needed after migration from earlier Version. (defaults to "" )

Domain settings

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

Versionierung

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.35 (LTS) LDAPxxx_master Tested März 2020

Further Reading