mediawiki / ldap-groups
Map group membership from a directory service to MediaWiki.
Installs: 848
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 20
Forks: 1
Type:mediawiki-extension
Requires
- composer/installers: ~1.0|~2
Requires (Dev)
This package is auto-updated.
Last update: 2024-11-08 05:11:24 UTC
README
Extension:LDAPGroups
This extension provides an way to map group membership information from a directory service (such as LDAP or Active Directory) to MediaWiki groups using the interface provided by LDAPProvider.
Configuration
There are two synchronization mechanisms:
- Mapped: "Sync only specifically defined groups and apply a mapping"
- All: "Sync all groups from LDAP, except from some that are managed by the wiki itself"
Mapped
<syntaxhighlight lang="json"> { "LDAP": { ... "groupsync": { "mechanism": "MediaWiki\\Extension\\LDAPGroups\\SyncMechanism\\MappedGroups::factory", "mapping": { "mathematicans": "ou=mathematicans,dc=example,dc=com" "scientists": "ou=scientists,dc=example,dc=com" } }, ... } } </syntaxhighlight>
All
<syntaxhighlight lang="json"> { "LDAP": { ... "groupsync": { "mechanism": "MediaWiki\\Extension\\LDAPGroups\\SyncMechanism\\AllGroups::factory", "locally-managed": ["sysop"] }, ... } } </syntaxhighlight>