From: Bing D. <Bi...@ci...> - 2001-02-26 18:05:58
|
Seems we were not talking about the same problem. I apologize if my question was not closely Net::LDAP related. My ldif containing modrdn entries was not generated by Net::LDAP::LDIF. Given that ldif, the command 'ldapmodify' provided with the MessagingDirect directory server outputs the error 'Constraint Violation' when it processes the second entry in the ldif. Bing Bing Du <bi...@ta..., 979-845-9577> Texas A&M University, CIS, Operating Systems, Unix >>> Chris Ridd <chr...@me...> 02/26/01 04:35AM >>> Bing Du <Bi...@ci...> wrote: > I checked both online ducumentation about ldapmodify and RFC. Did not > see anything wrong with my ldif. [...] > Ldapmodify output: Ah, you're not debugging the right program here, apologies if I wasn't clear. Change your Net::LDAP program so that it prints debugging output: $ldap = Net::LDAP->new('morpheus', debug => 15); It may be that the LDIF changerecord code in Net::LDAP::LDIF is not issuing the right sort of modify operations to the server, so setting debug => 15 will tell us exactly what's being sent. Cheers, Chris |