ABSTRACT:
Problem when using context.rename() method with NLDAP
DETAILED DESCRIPTION
When using:
context.createSubcontext("cn=0", orig); context.rename("cn=0", "cn=1");
[LDAP: error code 34 - Invalid DN Syntax]
Solution:
add
env.put(Context.REFERRAL, "follow" );
when setting up the properties.
--devsup
© 2008 Novell, Inc. All Rights Reserved.