From: Arvid R. <ar...@Te...> - 2000-07-13 08:53:48
|
Hi fellow perl-ldapers, I get the errormessage "Unrecognized version number or incorrect PDU structure" when doing a a modify with the following code: #------------------------------------------------------------------------- $result = $ldap->modify($dn, changes => [ delete => [ $attrib => $attrib_value_orig ], add => [ $attrib => $attrib_value ] ] ); #------------------------------------------------------------------------- while a simple replace like the following works (but I can't use that with multivalued attributes, can I?): #------------------------------------------------------------------------- $result = $ldap->modify($dn, replace => { $attrib => $attrib_value } ); #------------------------------------------------------------------------- I'm using perl-ldap-0.19 and openldap 1.2.11 Happy ldaping Arvid |