On 18/5/05 4:28, Eric A. Hall <[EMAIL PROTECTED]> wrote:

> I don't remember why I used the error tests in the first place but I
> remember doing it for a reason. Perhaps it was that I am getting zero
> return codes for some failures. This is OpenLDAP 2-2.1.22-118 on SuSE 9.1
> (with patches) and perl 5.8.1 if that makes a difference.

You have to look at the RFCs (esp RFC 2251 section 4.1.10) to work out what
return codes are "errors" for particular operations. For instance the
compare operation, returns 5 or 6 depending on the assertion and not 0.
Things like timeLimitExceeded indicate a "partial" error...

So it is slightly complicated :-)

Cheers,

Chris


Reply via email to