Extension:LDAPSyncAll/ko
Appearance
This extension provides a mechanism to synchronize users in the database and users in active directory.
출시 상태: 안정 |
|
|---|---|
| 설명 | Used to synchronize users |
| 만든 이 | Cindy Cicalese, Mark A. Hershberger, Robert Vogel |
| 최신 버전 | 1.0.0 |
| 호환성 정책 | 스냅샷은 미디어위키와 함께 릴리스됩니다. Master is not backward compatible. |
| MediaWiki | 1.31+ |
|
|
| Licence | GNU General Public License 2.0 or later |
| 다운로드 | |
| LDAPSyncAll 확장 기능 번역 (translatewiki.net에서 가능한 경우) | |
| 이슈 | 미해결 작업 · 버그 보고 |
- 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
설치
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' );
Usage
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.
Configuration
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' ];
| This extension is included in the following wiki farms/hosts and/or packages: |
