[ 
http://issues.apache.org/jira/browse/DIREVE-230?page=comments#action_12319755 ] 

Alex Karasulu commented on DIREVE-230:
--------------------------------------

>From Section 4.6 of RFC 2251:

+--------------------------------------------------------------------------------------------------------
 |   The Modify Operation cannot be used to remove from an entry any of
 |   its distinguished values, those values which form the entry's
 |   relative distinguished name.  An attempt to do so will result in the
 |   server returning the error notAllowedOnRDN.  The Modify DN Operation
 |   described in section 4.9 is used to rename an entry.
+--------------------------------------------------------------------------------------------------------


> Deletion of RDN and objectClass attribute
> -----------------------------------------
>
>          Key: DIREVE-230
>          URL: http://issues.apache.org/jira/browse/DIREVE-230
>      Project: Directory Server
>         Type: Bug
>     Versions: 0.9.2
>     Reporter: Stefan Zoerner
>     Assignee: Alex Karasulu
>  Attachments: ObjectClassesRemovalTest.java
>
> It is possible to remove the RDN and the objectClass attribute from an entry 
> via a modify operation. Removing the objectClass attribute leads to an entry 
> which can't be deleted.
> Attached you find a testcase which demonstrates the deletion of the 
> objectClass on a person entry.
> After this operation, it is still possible to lookup the entry with its DN, 
> although it has no attributes and deletion attempts cause an error: 
> LDAP: error code 54 - failed to delete entry cn=Charly Brown,dc=apache,dc=org

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to