[16] in GSSAPI Development

home help back first fref pref prev next nref lref last post

Re: More clarifications

daemon@ATHENA.MIT.EDU (John Linn. 508.486.6588. DTN 226-6)
Tue Apr 30 07:48:50 1991

Date: Tue, 30 Apr 91 04:48:26 PDT
From: "John Linn. 508.486.6588. DTN 226-6588.  30-Apr-1991 0748" <linn@zendia.enet.dec.com>
To: gssapi-dev@ATHENA.MIT.EDU

>>Second issue: what error code should the routine return if they were
>>expecting one type of token and receive another?
>>Should it just be GSS_S_FAILURE?
>>You seem to have a lot of explicit error codes of other cases, but other
>>cases seem to be lumped into GSS_S_FAILURE and I don't seem to see rhyme
>>or reason for some of them.
>
>I don't have a strong preference in this area.  Hmm ... is the
>GSS_S_DEFECTIVE_TOKEN status more appropriate in this case?

I'd say GSS_S_DEFECTIVE_TOKEN, based on an interpretation that the
presented token was "defective" by not providing the routine to which it
was presented with the information needed in order for that routine to
perform its processing.

--jl

home help back first fref pref prev next nref lref last post