[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keytab "MEMORY" in error message



On Fri, 9 Feb 2007 12:28:40 +1100
Love Hörnquist Åstrand <lha@kth.se> wrote:

> > Perhaps lib/krb5/keytab.c:krb5_kt_get_entry around line 372 should  
> > have:
> >
> > 371         krb5_kt_get_name (context, id, kt_name, sizeof(kt_name));
> > 372         krb5_enctype_to_string(context, enctype, &enctype_str);
> >             if (kt_name[0] == '\0')
> >                 strcpy(kt_name, "MEMORY");
> > 373
> > 374         if (kvno)
> > 375             snprintf(kvn...
> >
> > Otherwise you get:
> >
> >   Failed to find user@FOO.NET(kvno 1) in keytab  (des-cbc-crc)
> >
> > as opposed to the superior:
> >
> >   Failed to find user@FOO.NET(kvno 1) in keytab MEMORY (des-cbc-crc)
> 
> I'm splitting these issues. For the first one, will using  
> krb5_kt_get_full_name()
> instead be acceptable to you ?

Sure.

-- 
Michael B Allen
PHP Active Directory SSO
http://www.ioplex.com/