[17127] in Kerberos_V5_Development

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

Re: Request for error handling =?UTF-8?Q?advice=E2=80=A6=2E=3F?=

daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Aug 29 19:52:24 2011

From: Greg Hudson <ghudson@mit.edu>
To: "Matthew M. DeLoera" <mdeloera@exacq.com>
In-Reply-To: <4364BCA0-86C5-400C-AA37-BBC3FC8F41DE@exacq.com>
Date: Mon, 29 Aug 2011 19:52:17 -0400
Message-ID: <1314661937.24488.96.camel@t410>
Mime-Version: 1.0
Cc: "krbdev@mit.edu" <krbdev@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

On Mon, 2011-08-29 at 19:16 -0400, Matthew M. DeLoera wrote:
> I have a (hopefully) very simple question. This is really more a GSS
> issue, but I'm not sure if there's a better forum, so my apologies in
> advance!

The implementation you're using (gssglue) is part of the Linux NFS
project, so you might try their lists; see
http://www.citi.umich.edu/projects/nfsv4/linux/

> Oversimplified but probably enough. I'm testing error handling on
> missing gssapi_krb5.so (missing provider underneath GSS, so dynamic
> load fails). I find that gas_import_name() does not fail, and in
> Ubuntu 10.04, the gas_release_name segfaults.

The segfault sounds like a bug in gssglue or an indirect result of a
memory corruption bug in your code.  There's no reason you wouldn't want
to release the name after a failure from gss_acquire_cred.  I looked at
the gssglue sources but didn't see anything obvious.

(Is "gas_" just a typo for "gss_" everywhere you used it, or is there
some meaning to it?)


_______________________________________________
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