directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] [Commented] (DIRSTUDIO-1078) unable to use # pound hash sign in LDAP filters
Date Sat, 21 Nov 2015 11:41:10 GMT


Emmanuel Lecharny commented on DIRSTUDIO-1078:

I tested the search against ApacheDS, and what I see, when using a  filter like {{(member=cn=\23SOME,dc=example,dc=org)}}
is that the DN is not considered as valid, as the '#' we get is not a valid char in a DN.
That means we should keep the {{\23}} string in the filter instead of unescaping it and replace
it by a {{#}}.

Still some checks to do...

> unable to use # pound hash sign in LDAP filters
> -----------------------------------------------
>                 Key: DIRSTUDIO-1078
>                 URL:
>             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

View raw message