EmbeddedCrowd migration does not merge user and group DNs correctly

XMLWordPrintable

      When migrating confluence to embedded crowd the user, group and base DNs are not merged together correctly.

      The correct behavior is:

      1. ignore the baseContext setting
      2. remove comment path elements from the user and group DNs building up a new baseContext.


      Test Case 1:

      Input Output
      baseContext: dc=atlassian,dc=private
      baseUserNamespace: dc=staff,dc=perftest,dc=atlassian,dc=private
      baseGroupNamespace: dc=groups,dc=perftest,dc=atlassian,dc=private
      baseContext: dc=atlassian,dc=private
      userDn: dc=staff
      groupDn: dc=groups

      Test Case 2:

      Input Output
      baseContext: not set
      baseUserNamespace: dc=atlassian,dc=private
      baseGroupNamespace: dc=atlassian,dc=private
      baseContext: dc=atlassian,dc=private
      userDn: not set
      groupDn: not set

              Assignee:
              m@ (Inactive)
              Reporter:
              m@ (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: