Topic on Extension talk:LDAPGroups

How to assign multiple LDAP groups?

2
Neftal23 (talkcontribs)

Hello,

i like to assign multiple LDAP groups to a single mediawiki group. How can that be done?

php it would look like this

$group['admin'] = "Grp_IT1;

$group['admin'] += "Grp_IT2;


This does overwrite but not extend...

"groupsync": {

  "mapping": {

   "admin": "CN=Grp_IT1,OU=example,DC=com",

   "admin": "CN=Grp_IT2,OU=example,DC=com",

   "sysop": "CN=Grp_IT1,OU=example,DC=com"

  }

}

Osnard (talkcontribs)

You should be able to do this with

"groupsync": {
  "mapping": {
   "admin": [
      "CN=Grp_IT1,OU=example,DC=com",
      "CN=Grp_IT2,OU=example,DC=com"
   ],
   "sysop": "CN=Grp_IT1,OU=example,DC=com"
  }
}
Reply to "How to assign multiple LDAP groups?"