[32378] in Kerberos

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

KLCacheHasValidTickets does not report the principal (Mac OS X 10.6.3)

daemon@ATHENA.MIT.EDU (Nathan Herring)
Thu May 20 15:44:59 2010

From: Nathan Herring <nathanh@microsoft.com>
To: "darwin-dev@lists.apple.com" <darwin-dev@lists.apple.com>,
   "kerberos@mit.edu" <kerberos@mit.edu>
Date: Thu, 20 May 2010 19:44:50 +0000
Message-ID: <C81ADF42.83EE%nathanh@microsoft.com>
Content-Language: en-US
MIME-Version: 1.0
Content-Type: text/plain; charset="windows-1252"
Errors-To: kerberos-bounces@mit.edu
Content-Transfer-Encoding: 8bit

I’m having a similar issue with KLCacheHasValidTickets. I have a valid V5 ticket in the default cache, and yet

KLBoolean fValid;
KLPrincipal principal;
klerr = KLCacheHasValidTickets(NULL, kerberosVersion_V5, &fValid, &principal, NULL);

Returns fValid is true, klerr == 0, but principal is null.

Am I missing something? Documentation looks like it should tell me what the default credential cache’s principal was (presuming it was still valid).

-nh
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos


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