[
https://issues.apache.org/jira/browse/DIRSTUDIO-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15018615#comment-15018615
]
Sorin Sbarnea edited comment on DIRSTUDIO-1078 at 11/20/15 7:35 PM:
--------------------------------------------------------------------
And now I do have the confirmation that the search is broken as I was able to
use command line ldapsearch to perform the desired search and it worked very
well. I had to use 4 backslashes but it worked perfectly, DS didn't work in any
way.
{code}
ldapsearch ...
"(&(objectClass=group)(memberOf:1.2.840.113556.1.4.1941:=CN=\\\\23SOME,OU=Groups,OU=EMEA,DC=example,DC=net))"
ldapsearch ...
"(memberOf:1.2.840.113556.1.4.1941:=CN=\\\\#SOME,OU=Groups,OU=EMEA,DC=example,DC=net))"
{code}
Both lines above do work, giving the same results.
was (Author: sbarnea):
And now I do have the confirmation that the search is broken as I was able to
use command line ldapsearch to perform the desired search and it worked very
well. I had to use 4 backslashes but it worked perfectly, DS didn't work in any
way.
{code}
${LDAP}
"(&(objectClass=group)(memberOf:1.2.840.113556.1.4.1941:=CN=\\\\23SOME,OU=Groups,OU=EMEA,DC=example,DC=net))"
$ATTR
{code}
> unable to use # pound hash sign in LDAP filters
> -----------------------------------------------
>
> Key: DIRSTUDIO-1078
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1078
> Project: Directory Studio
> Issue Type: Bug
> Affects Versions: 2.0.0-M9 (2.0.0.v20150606-M9)
> Reporter: Sorin Sbarnea
>
> 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
(v6.3.4#6332)