Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-10031

When a LDAP subgroup is listed as UID it's not expanded

    XMLWordPrintable

Details

    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Here is an example ldif to reproduce the issue:

      # Top group
      # --------------------
      dn: cn=Top group,ou=crews,ou=groups,o=sevenSeas
      objectclass: groupOfUniqueNames
      objectclass: top
      cn: Top group
      uniquemember: Group
      
      dn: cn=Group,ou=crews,ou=groups,o=sevenSeas
      objectclass: groupOfUniqueNames
      objectclass: top
      cn: Group
      uniquemember: cn=User,ou=people,o=sevenSeas
      

      The following

      ldapUtils.getGroupMembers("cn=Top group,ou=crews,ou=groups,o=sevenSeas", getContext());
      

      return the following members:

      cn=Group,ou=crews,ou=groups,o=sevenSeas
      

      instead of

      cn=User,ou=people,o=sevenSeas
      

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: