directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Zoerner (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-697) valid ModifyDN operations fail with resultcode 32
Date Sun, 06 Aug 2006 10:07:13 GMT
valid ModifyDN operations fail with resultcode 32
-------------------------------------------------

                 Key: DIRSERVER-697
                 URL: http://issues.apache.org/jira/browse/DIRSERVER-697
             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


The current 1.0 branch contains an error which causes valid modifyDN operations to fail with
result code 32 (NO_SUCH_OBJECT). Here is an example:
I use the server.xml unchanged and add an entry (tori.ldif) like this:

dn: cn=Myra Ellen Amos,dc=example,dc=com
objectclass: top
objectclass: person
sn: Amos
cn: Myra Ellen Amos

via a 
$ ldapmodify -D "uid=admin,ou=system" -w secret -a -f tori.ldif
adding new entry cn=Myra Ellen Amos,dc=example,dc=com

afterwards I try to change it, via modifyTori.ldif:

dn: cn=Myra Ellen Amos,dc=example,dc=com
changetype: modrdn
newrdn: cn=Tori Amos
deleteoldrdn: 1

applied:

$ ldapmodify -D "uid=admin,ou=system" -w secret -f modifyTori.ldif
modifying RDN of entry cn=Myra Ellen Amos,dc=example,dc=com
ldap_rename: No such object
ldap_rename: additional info: failed to modify DN of entry cn=Myra Ellen Amos,dc=example,dc=com
$

Appropriate test cases are in the org.apache.directory.server.ModifyRdnTest of the server-unit
project, some of them currently (snapshot from August 4) fails (which is good).

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

        

Mime
View raw message