Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-702

Trying to remove an attribute which is part of the RDN does not cause an error

Watch issueLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-RC4
    • 1.0-RC4, 1.5.0
    • None
    • None
    • * ApacheDS 1.0 RC4 SNAPSHOT
      * Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
      * Windows XP Professional SP2

    Description

      If I create an entry like this

      dn: cn=Kate Bush,dc=example,dc=com
      objectclass: top
      objectclass: person
      cn: Kate Bush
      sn: Bush

      and try to remove the attribute cn via modify operation, no error occurs. The good thing is, that the entry keeps the same (no invalid entry appears). But the expected result is an error. To be more concrete, LDAP error code 67 - Not Allowed On RDN. I'll attach a JUnit test with JNDI, which demonstrates the problem.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            akarasulu Alex Karasulu
            szoerner Stefan Zoerner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment