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

Setting a group from LDAP directory as inactive does not work (adds an empty description attribute)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 2.2.7
    • None
    • None
      • version: 2.2.7 (Build:#500 - 09-05-2011
      • ApacheDS 1.5.x

      • Add an ApacheDS LDAP directory
      • Add a group to the directory
      • Load the group again
      • Untick the "Active" checkbox
      • Click Update

      Expected: I don't know what is supposed to happen on the LDAP server.

      Actual: An empty 'description' attribute is added to the group LDAP entry. The page reloads and it still says that the group is active.

      Note:

      • If I try to the uncheck again and click update an error message is shown on the page (notice the missing substitution string):
        org.springframework.ldap.AttributeInUseException: [LDAP: error code 20 - ATTRIBUTE_OR_VALUE_EXISTS: failed for Modify Request Object : 'cn=testgroup1,ou=1k,ou=Test,ou=system' Modification[0] Operation : add Modification description: : ERR_254 Trying to add existing value {0} to attribute description]; nested exception is javax.naming.directory.AttributeInUseException: [LDAP: error code 20 - ATTRIBUTE_OR_VALUE_EXISTS: failed for Modify Request Object : 'cn=testgroup1,ou=1k,ou=Test,ou=system' Modification[0] Operation : add Modification description: : ERR_254 Trying to add existing value {0} to attribute description]; remaining name 'cn=testgroup1,ou=1k,ou=Test,ou=system' 
        

              Unassigned Unassigned
              farmas Federico Silva Armas [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: