Jetspeed 2
  1. Jetspeed 2
  2. JS2-814

Ldap User DN is incorrectly calculated when search filterBase is empty

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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
          Dennis Dam added a comment -

          this patch checks whether the search base is not empty

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

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

          Thanks Dennis!

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development