Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-8614

User status attribute mapping with Active Directory doesn't work when creating new users

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.0.0
    • Fix Version/s: 12.0.4, 13.5.0
    • Component/s: idrepo
    • Labels:
    • Sprint:
      AM Sustaining Sprint 19, AM Sustaining Sprint 20
    • Support Ticket IDs:

      Description

      Steps to reproduce:

      • configure an Active Directory as a Data Store (using LDAPS)
      • add inetUserStatus to the list of LDAP User attributes
      • try to create a new User using the Subjects tab

      The following stacktrace can be seen in the IdRepo debug logs:

      org.forgerock.opendj.ldap.ConstraintViolationException: No Such Attribute: 00000057: LdapErr: DSID-0C090C3E, comment: Error in attribute conversion operation, data 0, v1db1^@
      

      The problem seems to be that although we are mapping the user status attribute, we do not remove the original inetUserStatus attribute from the attributeMap, and AD doesn't know what to do with that attribute. We should remove the default user status attribute when we are mapping it to a data store specific attribute.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                peter.major Peter Major [X] (Inactive)
                Reporter:
                peter.major Peter Major [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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