Erweiterung:LDAPSyncAll

This page is a translated version of the page Extension:LDAPSyncAll and the translation is 100% complete.
This extension is part of the LDAP-Stack and requires the LDAPProvider extension to be installed first.

This extension provides a mechanism to synchronize users in the database and users in active directory.

MediaWiki-Erweiterungen
LDAPSyncAll
Freigabestatus: stabil
Beschreibung Dient der Synchronisierung von Benutzern
Autor(en) Cindy Cicalese, Mark A. Hershberger, Robert Vogel
Letzte Version 1.0.0
Kompatibilitätspolitik Snapshots werden zusammen mit MediaWiki veröffentlicht. Der Master ist nicht abwärtskompatibel.
MediaWiki 1.31+
Lizenz GNU General Public License 2.0 oder später
Herunterladen
  • $wgUserPageContent
  • $wgExcludedUsernames
  • $wgUsersSyncMechanism
  • $wgBlockExecutorUsername
  • $wgExcludedGroups
Vierteljährliche Downloads 4 (Ranked 63rd)
Übersetze die LDAPSyncAll-Erweiterung, wenn sie auf translatewiki.net verfügbar ist
Probleme Offene Aufgaben · Einen Fehler melden
  • If a user is in LDAP, but not in the database => the user is added to the database
  • If a user is in the database, but not in LDAP => the user account will be disabled in the database


Installation

Execute within MediaWiki root or add mediawiki/ldap-sync-all to the composer.json file of your projectː

composer require mediawiki/ldap-sync-all dev-REL1_31

Aktivierung

Add the following line to your LocalSettings.phpː

wfLoadExtension( 'LDAPSyncAll' );

Verwendung

Die Erweiterung bietet ein Wartungsskript, das Sie einfach von Ihrer PHP-Konsole aus ausführen können maintenance/SyncLDAPUsers.php. Außerdem gibt es einen RunJobsTriggerHandler der einmal am Tag läuft.

Konfiguration

Sie müssen die folgende Zeile in Ihren $ 1 hinzufügen. Vergiss nicht, "Admin" in den Benutzernamen zu ändern, der die Admin-Zulassungen hat. Dieser Benutzer deaktiviert Konten, die nicht in LDAP enthalten sind.

$GLOBALS['LDAPSyncAllBlockExecutorUsername'] = 'Admin';

Sie können Benutzernamen und Benutzergruppen angeben, die Sie aus dem Deaktivieren ausschließen möchten, z.B.:

$GLOBALS['LDAPSyncAllExcludedUsernames'] = [ 'Bob', 'Emily' ];

$GLOBALS['LDAPSyncAllExcludedGroups'] = [ 'bot', 'editor' ];