GitHub mirror for the MediaWiki extension LDAPGroups. Our actual code is hosted at https://gerrit.wikimedia.org. Please see https://www.mediawiki.org/wiki/Developer_account if you wish to contribute code to this repo. Thank you.
dd829adf8e
Change-Id: Ica624306bcfc370a0651382f487167dc37ae0259 |
||
---|---|---|
i18n | ||
maintenance | ||
src | ||
tests/phpunit | ||
.editorconfig | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
CODE_OF_CONDUCT.md | ||
Gruntfile.js | ||
README.mediawiki | ||
composer.json | ||
extension.json | ||
package-lock.json | ||
package.json |
README.mediawiki
== 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>