You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (Jira)" <ji...@apache.org> on 2021/04/03 17:17:00 UTC

[jira] [Updated] (DIRAPI-365) unable to use # pound hash sign in LDAP filters

     [ https://issues.apache.org/jira/browse/DIRAPI-365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann updated DIRAPI-365:
-----------------------------------
    Fix Version/s: 2.0.2

> unable to use # pound hash sign in LDAP filters
> -----------------------------------------------
>
>                 Key: DIRAPI-365
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-365
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Sorin Sbarnea
>            Priority: Major
>             Fix For: 2.0.2
>
>
> 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
> {code}
> (&(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)))
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org