Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2197

Unable to add groups to LDAP directory through crowd UI

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 2.2, 2.2 Iteration 4
    • 2.2
    • Directory - LDAP
    • Crowd 2.2.0m5
      Apache Directory Server 1.5

      • Add an LDAP directory to Crowd
      • Go to the groups tab and add a new Group to the LDAP directory that was just added.

      Expected: Group to be created and propagated to LDAP server
      Actual: Error occurs

      Note: I can add groups directly from applications that use Crowd Server as their directory and that action propagates fine to LDAP server.

      [LDAP: error code 21 - INVALID_ATTRIBUTE_SYNTAX: failed for Add Request : 
      ClientEntry dn: cn=crowdgroup, ou=groups,ou=system objectClass: groupOfUniqueNames uniqueMember: uid=admin,ou=system cn: crowdgroup description: : 
      ERR_280 Attribute value {0} for attribute {1} is syntactically incorrect]; nested exception is javax.naming.directory.InvalidAttributeValueException: 
      [LDAP: error code 21 - INVALID_ATTRIBUTE_SYNTAX: failed for Add Request : ClientEntry dn: cn=crowdgroup, ou=groups,ou=system objectClass: groupOfUniqueNames uniqueMember: uid=admin,ou=system cn: crowdgroup description: : ERR_280 Attribute value {0} for attribute {1} is syntactically incorrect]; remaining name 'cn=crowdgroup, ou=groups,ou=system' 
      

            [CWD-2197] Unable to add groups to LDAP directory through crowd UI

            You should be able to work around this error by ensuring that you have filled in the "Description field."

            Adam Laskowski (Inactive) added a comment - You should be able to work around this error by ensuring that you have filled in the "Description field."

            Just did another test on farmas-pc.sydney.atlassian.com and it works!!

            Piyawoot Songsiritat [Atlassian] added a comment - Just did another test on farmas-pc.sydney.atlassian.com and it works!!

            This is something to do with directory implementations which do not support empty strings as values.
            Seems the problem is not limited to adding group. I will have to go through all the operations on Group and User.

            Piyawoot Songsiritat [Atlassian] added a comment - This is something to do with directory implementations which do not support empty strings as values. Seems the problem is not limited to adding group. I will have to go through all the operations on Group and User.

              psongsiritat Piyawoot Songsiritat [Atlassian]
              farmas Federico Silva Armas [Atlassian]
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 8h
                  8h