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

                 Key: DIRSERVER-702
                 URL: http://issues.apache.org/jira/browse/DIRSERVER-702
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 1.0-RC4
         Environment: * ApacheDS 1.0 RC4 SNAPSHOT
* Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
* Windows XP Professional SP2
            Reporter: Stefan Zoerner


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.  

-- 
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