Re: [kitten] RFC 2744 Appendix A erratum

Benjamin Kaduk <kaduk@MIT.EDU> Thu, 21 November 2013 16:02 UTC

Return-Path: <kaduk@mit.edu>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 88EBA1ADFF7 for <kitten@ietfa.amsl.com>; Thu, 21 Nov 2013 08:02:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.126
X-Spam-Level:
X-Spam-Status: No, score=-3.126 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.525, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MlOa0sX48jUk for <kitten@ietfa.amsl.com>; Thu, 21 Nov 2013 08:02:28 -0800 (PST)
Received: from dmz-mailsec-scanner-6.mit.edu (dmz-mailsec-scanner-6.mit.edu [18.7.68.35]) by ietfa.amsl.com (Postfix) with ESMTP id 33A081ADFF5 for <kitten@ietf.org>; Thu, 21 Nov 2013 08:02:28 -0800 (PST)
X-AuditID: 12074423-b7f2b6d000000ce1-6f-528e2e8d910b
Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP id B6.01.03297.D8E2E825; Thu, 21 Nov 2013 11:02:21 -0500 (EST)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id rALG2KR6026271; Thu, 21 Nov 2013 11:02:20 -0500
Received: from multics.mit.edu (system-low-sipb.mit.edu [18.187.2.37]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id rALG2HVw027175 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 21 Nov 2013 11:02:19 -0500
Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id rALG2HgA023703; Thu, 21 Nov 2013 11:02:17 -0500 (EST)
Date: Thu, 21 Nov 2013 11:02:17 -0500
From: Benjamin Kaduk <kaduk@MIT.EDU>
To: Martin Rex <mrex@sap.com>
In-Reply-To: <20131121023512.A7EA11AACA@ld9781.wdf.sap.corp>
Message-ID: <alpine.GSO.1.10.1311211058100.23560@multics.mit.edu>
References: <20131121023512.A7EA11AACA@ld9781.wdf.sap.corp>
User-Agent: Alpine 1.10 (GSO 962 2008-03-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"; format="flowed"
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrLIsWRmVeSWpSXmKPExsUixCmqrNur1xdk0DGbx+Lo5lUsFr2/dzA7 MHksWfKTyWPK562MAUxRXDYpqTmZZalF+nYJXBk/l05gLFjPV9F54AJbA+Mm7i5GTg4JAROJ LRPXskPYYhIX7q1nA7GFBGYzSay5EtDFyAVkb2SU6N/dygjhHGKSmHewCcppYJTYs+EzK0gL i4C2xKnmLhYQm01ARWLmm41go0QEZCWmXXvDCGIzCwhLrD83gxnEFhYwlJiy4TpYDaeAjcTN rtVMIDavgKPE+ZvvWCHOsJY4eKMHbKaogI7E6v1TWCBqBCVOznzCAjHTUuLcn+tsExgFZyFJ zUKSWsDItIpRNiW3Sjc3MTOnODVZtzg5MS8vtUjXTC83s0QvNaV0EyMoVNldlHcw/jmodIhR gINRiYf3wdOeICHWxLLiytxDjJIcTEqivNN0+4KE+JLyUyozEosz4otKc1KLDzFKcDArifB+ VQfK8aYkVlalFuXDpKQ5WJTEeW9x2AcJCaQnlqRmp6YWpBbBZGU4OJQkeLVAhgoWpaanVqRl 5pQgpJk4OEGG8wANNwap4S0uSMwtzkyHyJ9iVJQS5zUCSQiAJDJK8+B6YankFaM40CvCvN4g VTzANATX/QpoMBPQYHbJbpDBJYkIKakGxthwntINfJUt365r1FXUO0SfebZijy1f/QG2V0su NEh6/Z87nees1aRvC4+cdvno6x6uZWhzyDBQyt1fd5++ZKS5sV3t45lWk7abNGY8E+OTvSj0 ZsGbc4vPzmKI5WhUZfcS6nq79PHTde2Ppp5gsqx/IRZxUWxZUL+s5JUtbbsrPNdJP4zrUGIp zkg01GIuKk4EAKZrDSAAAwAA
Cc: kitten@ietf.org
Subject: Re: [kitten] RFC 2744 Appendix A erratum
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Nov 2013 16:02:30 -0000

[changed subject]

On Thu, 21 Nov 2013, Martin Rex wrote:

>
> The "*" on the output parameters in the Appendix A sample header file
> seem to have disappeared during I-D revision 05->06 of the C-bindings
> draft, they were present during -00 through -05:
>
>  http://tools.ietf.org/rfcdiff?url2=rfc2744.txt&url1=draft-ietf-cat-gssv2-cbind-05.txt#diff0410

Thanks for tracking down the version with the change (and the diff).

> A "fix" of that size appears somewhat huge for the errata process.

I agree.
However, it seems that replacing " ," with " *," (all 68 occurrences) 
suffices to fix almost all of the problem.  gss_export_name()'s 
minor_status parameter would not be caught by this replacement, but could 
be mentioned separately.

> Filing an errata that describes the nature of the problem--maybe including
> a suitable URL to rfcdiff like the one above for visualizing the problem,
> might be preferable.

I'll probably file an erratum with the old/new text I mentioned above and 
your rfcdiff URL at some point, maybe later today.

> Btw. there is another problem with the gssapi.h sample header file
> in rfc2744:  for 64-bit, there exists a binary-incompatibility
> between the X/Open defined GSS-API C-bindings and the IETF-defined
> rfc2744 C-Bindings for "count" member of the gss_OID_set type:
>
> rfc2744:  http://tools.ietf.org/html/rfc2744#page-84
>
>     typedef struct gss_OID_set_desc_struct  {
>         size_t     count;
>         gss_OID    elements;
>     } gss_OID_set_desc, *gss_OID_set;
>
>
> X/Open: http://archive.opengroup.org/publications/archive/CDROM/c441.pdf
> Page 45:
>
>     typedef struct gss_OID_set_desc_struct{
>         int count;
>         gss_OID elements;
>     } gss_OID_set_desc, *gss_OID_set;

Ugh.  Thanks for mentioning it.

-Ben