From: Graham B. <gb...@po...> - 2000-06-12 10:22:05
|
This sounds like the problem which was fixed on version 0.19, what version do you have ? Graham. On Sat, Jun 10, 2000 at 12:06:49PM +0200, Vitaly Kroivets wrote: > Hello, > I just downloaded the perl-ldap and try to use its functions. > I have problem in following code: > > my $result = $ldap->moddn("cn=Tuzik,ou=People,o=tiogatech.com", > newrdn => "cn=Ttuzzikk I"); > > if ($result->code) { > print "Some error occured while moddn ... \n", > ldap_error_name($result->code),":", > ldap_error_text($result->code),"\n"; > } > > I get error message: > > LDAP_ENCODING_ERROR:C<Net::LDAP> encountered an error while encoding the > request packet that would > have been sent to the server > > 1)Can you please help me ? What is wrong with this code? > 2)Can I change dn "cn=Tuzik,ou=People,o=tiogatech.com" to dn > "uid=12345,ou=People,o=tiogatech.com" with function moddn ? > > Thanks in advance! > Vitaly > |