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

VLV search returns wrong result if target string contains compound characters

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 3.0.0
    • Component/s: core server
    • Labels:
    • Environment:
      This is seen both when sending queries over the LDAP protocol and when using ldapsearch on the command line (running under Bash/Ubuntu).

      This was seen in version 2.6.0, but not 2.5.1. I have not verified against newer versions.

      Description

      When using a target string in a VLV search that contains compound characters (eg. ü or ñ), the result does not match the request unless the string is normalized by the client to Unicode NFKD form.

      Some output from a small test program, which searched among usernames in our database:

      Finding ä (not normalized)
      ~Gustavo
      Guthrie

      Finding ä (NFKD)
      ääääääääooklii
      äääöööäää

      Finding ã (not normalized)
      ~Gustavo
      Guthrie

      Finding ã (NFKD)
      ÃlcatrazHD
      ãoqé

      Disregarding the normalization or lack of it, the ldapsearch parameters equivalent to the program above would be:
      ldapsearch -b "ou=users,dc=mydomain,dc=com" -s one -S cn -G 0:1:ä "objectclass=myUserClass" cn

        Attachments

          Activity

            People

            • Assignee:
              matthew Matthew Swift
              Reporter:
              hst@reto.dk Hakon Steinø [X] (Inactive)
              Dev Assignee:
              Matthew Swift
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: