From: Yann R. <at...@at...> - 2000-06-13 19:47:29
|
Graham Barr wrote: > > 83 is an LDAP_ENCODING_ERROR object is the name of the element in the ASN > packet that is currently being encoded and causing the problem. > > The "object" is the dn, which by looking at your code is undef, which is your > problem. I think you want $entry, but you could just pass $entr as modify will > accept an ::Entry object for the dn. > This is the second time I've had this problem in a day and can't seem to pick it up :) Obviously I'm passing an undef, its right there in front of me. I promise not to complain it doesn't work until I've undergone several hours of torment figuring out what is going wrong :) (I only played with this one for one hour going through every permutation of modify :)) > Graham. > > PS: Yes there are still places where error reporting needs to be improved. But > if you ever get LDAP_ENCODING_ERROR then it is worth double-checking the > args passed. ------------------------------------------------------ > > -- -------------------------------------------------------------------- Yann Ramin at...@at... Atrus Trivalie Productions www.redshift.com/~yramin Monterey High IT www.montereyhigh.com ICQ 46805627 AIM oddatrus Marina, CA "All cats die. Socrates is dead. Therefore Socrates is a cat." - The Logician # fortune "To be responsive at this time, though I will simply say, and therefore this is a repeat of what I said previously, that which I am unable to offer in response is based on information available to make no such statement." -------------------------------------------------------------------- |