Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-365

unable to use # pound hash sign in LDAP filters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2
    • None
    • Important

    Description

      It seems impossible to perform searches that to use # sign inside. Tried to add them, not escaped, escaped with single or double backslash but none of these approaches worked.

      Example

      (&(objectClass=group)(displayName=*)(|(memberOf:1.2.840.113556.1.4.1941:=CN=\\#SOME,OU=Groups,OU=EMEA,DC=example,DC=net)))
      (&(objectClass=group)(displayName=*)(|(memberOf:1.2.840.113556.1.4.1941:=CN=\#SOME,OU=Groups,OU=EMEA,DC=example,DC=net)))
      (&(objectClass=group)(displayName=*)(|(memberOf:1.2.840.113556.1.4.1941:=CN=#SOME,OU=Groups,OU=EMEA,DC=example,DC=net)))
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            sbarnea Sorin Sbarnea
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: