[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: LDAP Result Codes



At 02:49 PM 6/10/2001, Bruce Greenblatt wrote:
>In looking back at RFC 2251, I see that it indicates that in the case of a Bind, RFC specifically states in clause 4.2.3 that the server returns operationsError in the case that: "server encountered an internal error".  It doesn't state this any place else, but one could logically deduce that any time that the server encounters an internal error that an operationsError can be returned, irrespective of which LDAP operation is being implemented.  So, I think that your interpretation is correct, and the result codes draft is in error.

I believe this was discussed previously (on this list) and
likely will be discussed again (on LDAPbis list).

Basically, the folks seemed to agree that 'other' should be
used for 'internal' errors and that 'operationsError' should be
used for indicating an operation could not be processed because
some other operation was outstanding.  E.g., 'operationsError'
should be return for any operation issues during processing of
a StartTLS operation or any non-bind operation during a SASL bind.

I recommend 'other' be used to indicate internal errors.
I also recommend that no extension specifically call for
'other' to be returned in any particular exception case.
'other' should be unambiguous refer to an condition for
which there is not a more specific resultCode.

Kurt


>Bruce Greenblatt
>
>At 04:12 PM 6/8/01 -0400, Karen Gdaniec wrote:
>>Folks,
>>We have been looking at the expired result codes draft,
>>draft-just-ldapv3-rescodes-02.txt, which someone on this list indicated
>>would be "folded into" an updated RFC 2251 sometime.
>>
>>We have a question regarding the result code LDAP_OPERATIONS_ERROR.  Our
>>current server support uses this return code to indicate that an internal
>>server error occurred while handling the request.  This differs vastly from
>>the definition in the draft, which indicates this return code should only
>>be returned if a bind is required prior to some operation and the bind was
>>not performed.
>>
>>We have searched the draft and found no other result code that seems to
>>satisfy our need for an "internal server error".  We tend to try to avoid
>>using LDAP_OTHER because it is so ambiguous.
>>
>>What is the intent of LDAP_OPERATIONS_ERROR?  What result code should be
>>used for internal problems at the server?  Does another result code need to
>>be defined?
>>
>>Thanks in advance,
>>
>>Karen
>>
>>Internet: kgdaniec@us.ibm.com
>>Internal: Karen Gdaniec/Endicott/IBM@IBMUS or
>>                 IBMUSM10(KGDANIEC)
>>phone: 607.752.1075   tie-line: 8/852-1075
>>fax: 607.752.3681
>
>==============================================
>Bruce Greenblatt, Ph. D.
>Directory Tools and Application Services, Inc.
>http://www.directory-applications.com