go to  ForumEasy.com   
LdapPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Observations
 
Subject: Observations
Author: eLDAP
In response to: Error 4 -- not support moving of entries
Posted on: 12/04/2006 08:33:04 PM

Based on the above runs, it seems that:

  • SunOne behaves like an LDAPv2 server which supports ModifyRDN
  • AD (Active Directory) functions as an LDAPv3 server which supports ModifyRDN and ModifyDN.



     

    > On 12/04/2006 08:15:56 PM eLDAP wrote:

    If we change the code to move an entry from one branch unto anther branch, by:
    ctx.rename("cn=John Smith,ou=Sales,ou=People", 
                      "cn=John Smith,ou=International Sales,ou=People");

    AD:
    (It works fine without error)

    SunOne:
    javax.naming.OperationNotSupportedException: [LDAP: error code 53 - server does not support moving of entries]; remaining name 'cn=John Smith,ou=Sales,ou=People'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2728)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2601)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2411)
    at com.sun.jndi.ldap.LdapCtx.c_rename(LdapCtx.java:584)
    at com.sun.jndi.toolkit.ctx.ComponentContext.p_rename(ComponentContext.java:692)
    at com.sun.jndi.toolkit.ctx.PartialCompositeContext.rename(PartialCompositeContext.java:248)
    at com.sun.jndi.toolkit.ctx.PartialCompositeContext.rename(PartialCompositeContext.java:239)
    at javax.naming.InitialContext.rename(InitialContext.java:382)






    References:

  •  


     
    Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
     
    Get your own forum today. It's easy and free.