From: Vitaly K. <vi...@ti...> - 2000-06-12 11:04:30
|
Thanks! Now I upgraded to 0.19 (it is latest, isn't it?) and it seems to be ok. BTW,Is it possible to change dn , so that it will contain uid instead of cn ? I.e,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 > > On Mon, 12 Jun 2000, Graham Barr wrote: > 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 > > > ============================================== Vitaly Kroivets, System Manager Email: vi...@si... vi...@ti... Phones: Work: 972-2-6491424 ============================================== |