Displaying 2 results from an estimated 2 matches for "krb5_kt_unknown_typ".
Did you mean:
krb5_kt_unknown_type
2009 Feb 16
1
samba-3.2.8 - KRB5_KT_UNKNOWN_TYPE;
...; in smb.conf is set with samba-3.2.8 and
the environment variable KRB5_KTNAME is not set with the value using
prefix "FILE:" or the default_keytab in /etc/krb5.conf is set without
the prefix i.e.
default_keytab_name = /etc/v5srvtab
then the function smb_krb5_open_keytab() returns KRB5_KT_UNKNOWN_TYPE.
If smb_krb5_open_keytab with a filename "/etc/v5srvtab" it would work
fine, however if the "default" keytab is used the expectation is that it
must have a prefix "FILE:" or "WRFILE:".
Is this the correct logic? It appears that the loop
while (next_to...
2004 Jan 05
1
Samba requesting nonexistent keytab type?
..., 3] smbd/error.c:error_packet(118)
error packet at smbd/sesssetup.c(173) cmd=115 (SMBsesssetupX)
NT_STATUS_LOGON_FAILURE
After looking at kerberos_verify.c and doing some debugging, I found
exactly where the problem is occuring (I think). The krb5_kt_resolve
immediately before is returning KRB5_KT_UNKNOWN_TYPE. Doing some looking
at the source for MIT krb5, and a bit of reading, it looks like there
are two key table types defined: FILE and WRFILE. Specifically, in
lib/krb5/keytab/ktbase.c:krb5_kt_resolve(112), it cycles through a list
of registered key table types, and MEMORY is definitely not one o...