Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-969

Subtree Specification Editor should add quotes around specificationFilter value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 2.0.0-M7 (2.0.0.v20130517)
    • None
    • studio-ldapbrowser
    • None
    • Observed in OpenDJ LDAP server.

    Description

      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]

      Attachments

        Activity

          People

            Unassigned Unassigned
            almostdaniel Daniel Spillers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: