Extension:LDAPSyncAll/pl

This extension is part of the LDAP Stack and requires the LDAPProvider extension to be installed first.
Category:LDAP Stack Member/pl

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

Category:Extensions with invalid or missing type/plCategory:GPL licensed extensions/pl
Podręcznik rozszerzeń MediaWiki
LDAPSyncAll
Status wydania: stabilneCategory:Stable extensions/pl
Opis Used to synchronize users
Autor(zy) Cindy Cicalese, Mark A. Hershberger, Robert Vogel
Ostatnia wersja 1.0.0
Polityka zgodności Snapshots releases along with MediaWiki. Master nie jest kompatybilny wstecznie.
MediaWiki 1.31+Category:Extensions with manual MediaWiki version
Licencja Licencja GNU General Public License 2.0 lub późniejsza
Pobieranie Category:Extensions in Wikimedia version control/pl
  • $wgUserPageContent
  • $wgExcludedUsernames
  • $wgUsersSyncMechanism
  • $wgBlockExecutorUsername
  • $wgExcludedGroups
Quarterly downloads 16 (Ranked 85th)
Przetłumacz rozszerzenie LDAPSyncAll jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd
Category:All extensions/pl
  • 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


Instalacja

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

Activation

Add the following line to your LocalSettings.phpː

wfLoadExtension( 'LDAPSyncAll' );

Użycie

The extension provides a maintenance script that you can simply run from your console PHP maintenance/SyncLDAPUsers.php. In addition, there is a RunJobsTriggerHandler that runs once a day.

Konfiguracja

You need to add the following line in your LocalSettings.php. Don't forget to change "Admin" to the username who has admin permissions. This user disables accounts that are not in LDAP.

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

You can specify usernames and usergroups that you want to exclude from disabling, for example:

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

$GLOBALS['LDAPSyncAllExcludedGroups'] = [ 'bot', 'editor' ];
Category:LDAP extensions/pl
Category:All extensions/pl Category:ChangeTagsAllowedAdd extensions/pl Category:Extensions in Wikimedia version control/pl Category:Extensions included in BlueSpice/pl Category:Extensions with invalid or missing type/pl Category:Extensions with manual MediaWiki version Category:GPL licensed extensions/pl Category:LDAP Stack Member/pl Category:LDAP extensions/pl Category:Stable extensions/pl