Daniel Spillers created DIRSTUDIO-969:
-----------------------------------------
Summary: Subtree Specification Editor should add quotes around
specificationFilter value
Key: DIRSTUDIO-969
URL: https://issues.apache.org/jira/browse/DIRSTUDIO-969
Project: Directory Studio
Issue Type: Bug
Components: studio-ldapbrowser
Affects Versions: 2.0.0-M7 (2.0.0.v20130517)
Environment: Observed in OpenDJ LDAP server.
Reporter: Daniel Spillers
Priority: Minor
When adding an objectclass=subtree entry with a subtreeSpecification, some LDAP
servers (i.e., OpenDJ) respond with the following error message when the value
of the specificationFilter (most commonly a standard (attribute=value) filter)
is not surrounded by quotes. The example below is typical when using a subentry
to grant privileges to a group via an operational attribute "isMemberOf" (may
be specific to OpenDS/OpenDJ).
#!ERROR [LDAP: error code 21 - Entry "cn=Example,dc=example,dc=com" contains a
value "{ specificationFilter “(isMemberOf=cn=Example
Group,ou=groups,dc=example,dc=com)” }" for attribute subtreeSpecification that
is invalid according to the syntax for that attribute: The provided value "{
specificationFilter “(isMemberOf=cn=Example Group,ou=groups,dc=example,dc=com)”
}" could not be parsed as a valid RFC 3672 subtree specification]
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)