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/01/30 20:50:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17275717#comment-17275717 ] 

Stefan Seelmann commented on DIRAPI-365:
----------------------------------------

Moved to DIRAPI project

> 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
>
> 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