On 31/5/05 6:53, wy <[EMAIL PROTECTED]> wrote:

> Currently, I have user names defined as CN.  Can the CN be changed to
> accomodated user name changes through Perl Net::LDAP?

Yes.

> Error msg "DSID-030F0A34, problem 6004 (CANT_ON_RDN)" is generated
> when I try to modify the CN.  Is the only solution is to add a new
> record under the new CN and remove the old record?

No.

It would seem that your entries have an RDN of cn=<whatever>. In other
words, what you want to do is to rename your entries. The Net::LDAP method
to do that is called "moddn", and it is documented.

<http://search.cpan.org/~gbarr/perl-ldap/lib/Net/LDAP.pod>

Cheers,

Chris


Reply via email to