Re: BUG? add() fails with resultCode=>32, errorMessage=>''

Chris Ridd <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.ldap
Message-ID <[email protected]>
On 17 Oct 2008, at 19:56, Graham Barr wrote:

> On Oct 17, 2008, at 12:49 PM, Jason Vas Dias wrote:
>> whereas it returned an empty string in errorMessage - an error  
>> string would have greatly
>> helped in diagnosing the problem and correcting my mistake.
>
> Tell you LDAP server vendor as that is the source of that attribute.

They'll probably just say that they're conformant as the RFCs allow  
the field to be empty.

> Net::LDAP works around this issue if you call the methods as defined  
> in the documentation

Yes, use the documented API :-)

Cheers,

Chris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.