Novell Home

TID102243 (ijavsp1) Problem when using context.rename() method with NLDAP

From Developer Community

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

Novell® Making IT Work As One

© 2008 Novell, Inc. All Rights Reserved.