[17301] in Kerberos_V5_Development

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

Re: For review: GSS memory allocation patch

daemon@ATHENA.MIT.EDU (Sam Hartman)
Fri Oct 14 12:49:39 2011

From: Sam Hartman <hartmans@mit.edu>
To: "Kevin Wasserman" <krwasserman@hotmail.com>
Date: Fri, 14 Oct 2011 12:49:33 -0400
In-Reply-To: <SNT101-DS10C2A027FF6801BAB416BFB5E10@phx.gbl> (Kevin Wasserman's
	message of "Fri, 14 Oct 2011 12:38:10 -0400")
Message-ID: <tslpqhzcyci.fsf@mit.edu>
MIME-Version: 1.0
Cc: krbdev@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

>>>>> "Kevin" == Kevin Wasserman <krwasserman@hotmail.com> writes:

    Kevin> Also, apologies if I'm being dense, but I'm not sure I
    Kevin> understand what you mean by "the caller should not fail when
    Kevin> the output attribute parameter is NULL."  I'm not seeing
    Kevin> where the caller is failing in that case.

If you call gss_inquire_name with null attrs, then the krb5 mechanism
returns EINVAL.
Instead, the mechglue should probably fill in whether the name is a
mechanism name and which mechanism but not call into the mechanism if
attrs is null.
_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

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