Last modified: 2013-10-31 19:04:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58425, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56425 - Unable to synchronize LDAP groups with spaces
Unable to synchronize LDAP groups with spaces
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
LdapAuthentication (Other open bugs)
master
All All
: Unprioritized minor (vote)
: ---
Assigned To: Ryan Lane
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-31 19:04 UTC by jackofmosttrades0
Modified: 2013-10-31 19:04 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Patch for translating Mediawiki groups names from underscores to spaces. (779 bytes, patch)
2013-10-31 19:04 UTC, jackofmosttrades0
Details

Description jackofmosttrades0 2013-10-31 19:04:15 UTC
Created attachment 13638 [details]
Patch for translating Mediawiki groups names from underscores to spaces.

The SimpleSecurity extension allows administrators to create extra security groups for use on the wiki. For the most part, the LDAP authentication plugin sucessfully synchronizes LDAP group membership with any such groups created.

However, Mediawiki doesn't handle groups with spaces in their names, and (much as is the case for usernames) requires you to use underscores instead of spaces. Consequently, if an LDAP group has a space in the name, it cannot be synchronized to the corresponding mediawiki group.

The options seem to be either:
  1) not having spaces in LDAP user groups (not really an acceptable change for me)
  2) translating wiki group names with underscores into names with spaces (which would break things if the group names actually do have underscores in LDAP)

It could be that there's an option I've overlooked, but in order to solve this problem I patched the authentication module to do #2. My patch is below.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links