[
https://issues.apache.org/jira/browse/DIRAPI-365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seelmann resolved DIRAPI-365.
------------------------------------
Resolution: Fixed
> 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: [email protected]
For additional commands, e-mail: [email protected]