Uploaded image for project: 'Jetspeed 2'
  1. Jetspeed 2
  2. JS2-814

Ldap User DN is incorrectly calculated when search filterBase is empty

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.3
    • Fix Version/s: 2.1.3, 2.2.0
    • Component/s: Security
    • Labels:
      None

      Description

      An extra comma is added in front of the user DN when the user filter base is an empty string (i.e. search from the root). See the getFirstDnForUid(..) method in AbstractLdapDao

        Issue Links

          Activity

          Hide
          ddam Dennis Dam added a comment -

          this patch checks whether the search base is not empty

          Show
          ddam Dennis Dam added a comment - this patch checks whether the search base is not empty
          Hide
          adouma Ate Douma added a comment -

          Patch applied to 2.1.3 branch as well as trunk (2.2-SNAPSHOT).

          Thanks Dennis!

          Show
          adouma Ate Douma added a comment - Patch applied to 2.1.3 branch as well as trunk (2.2-SNAPSHOT). Thanks Dennis!

            People

            • Assignee:
              adouma Ate Douma
              Reporter:
              ddam Dennis Dam
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development