From: Rui M. <rmo...@wh...> - 2000-05-29 14:33:56
|
Hi all. I'm trying to use moddn to modify a dn entry, but all i get is an error from ldap server: LDAP_OPERATIONS_ERROR. Server encountered an internal error. I also tried with the script that comes with perl-ldap package (ldapmodrdn) with no success. The lines from ldap server access log: [29/May/2000:15:22:38 +0100] conn=47 fd=49 slot=49 connection from 192.168.1.10 to 192.168.1.11 [29/May/2000:15:22:38 +0100] conn=47 op=0 BIND dn="cn=admin" method=128 version=3 [29/May/2000:15:22:38 +0100] conn=47 op=0 RESULT err=0 tag=97 nentries=0 etime=0 [29/May/2000:15:22:38 +0100] conn=47 op=-1 fd=49 closed error 71 (Protocol error) - B3 <--- ?!?!?! The output of ldapmodrdn with debug level set to 3 is: Net::LDAP=HASH(0xe08b8) sending: 30 1F 02 01 01 60 1A 02 01 03 04 08 63 6E 3D 61 0....`......cn=a 64 6D 69 6E 80 0B 61 64 6D 69 6E 35 61 64 6D 69 dmin..admin5admi 6E __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ n Net::LDAP=HASH(0xe08b8) received: 30 0C 02 01 01 61 07 0A 01 00 04 00 04 00 __ __ 0....a........ Net::LDAP=HASH(0xe08b8) sending: 30 03 02 01 02 __ __ __ __ __ __ __ __ __ __ __ 0.... Net::LDAP=HASH(0xe08b8) sending: 30 05 02 01 03 42 00 __ __ __ __ __ __ __ __ __ 0....B. The bind to ldap server was made with LDAPV3; The same test made with perldap-1.4 from mozilla works fine. Configuration: perl LDAP package: perl-ldap-0.18; perl version: 5.005_03 LDAP server: Netscape Directory Server 4.1 Am i doing something wrong or is this a (known) bug ? Any help is welcome. Thanks in advance -- Rui Monteiro WhatEverNet Computing, SA rmo...@wh... Praca de Alvalade, 6 - Piso 6 Phone: +351 21 7994200 1700 036 Lisboa - Portugal Fax: +351 21 7994242 http://www.whatevernet.pt |