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

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

    Details

    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: