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

          Dennis Dam created issue -
          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
          Dennis Dam made changes -
          Field Original Value New Value
          Attachment AbstractLdapDao.patch [ 12369991 ]
          Dennis Dam made changes -
          Link This issue is related to JS2-750 [ JS2-750 ]
          Ate Douma made changes -
          Assignee Ate Douma [ adouma ]
          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!
          Ate Douma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ate Douma made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          6h 56m 1 Ate Douma 21/Nov/07 21:57
          Resolved Resolved Closed Closed
          1412d 23h 10m 1 Ate Douma 04/Oct/11 22:08

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development