Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-2776

Searches return DNs containing illegal whitespace characters.

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0, 3.5.0
    • Fix Version/s: 4.0.0, 3.5.0
    • Component/s: core server
    • Labels:

      Description

      Found with OpenDJ 4.0.0 rev 3259fdc435a6ed8687e9572f7f05285caa47da2a

      We setup a server and import an ldif file in which dns contain spaces, such as:
      dn: uid=scarter, ou=People, dc=example,dc=com

      Then we perform the following search:

      ./opendj/bin/ldapsearch -h localhost -p 1389 -D "cn=myself" -w password -T -b uid=scarter,ou=People,dc=example,dc=com  "(objectclass=*)"
      dn: uid=scarter, ou=People, dc=example,dc=com
      objectClass: person
      objectClass: inetOrgPerson
      ...
      

      The dn is returned as in the ldif file, with the spaces between the comma and the text, which is different from what we had before where whitespaces were stripped out.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                matthew Matthew Swift
                Reporter:
                cforel carole forel
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: