History log of /sssd/src/providers/krb5/krb5_keytab.c
Revision Date Author Comments Expand
41f13bb048dbc4241dcfc024cdc3ec535510ba6b 01-Apr-2015 Lukas Slebodnik <lslebodn@redhat.com>

KRB5: Unify prototype and definition The prototype of function copy_keytab_into_memory does not match the definition. One of arguments differs in constant modifier. Patch also include header file to implementation module. If should avoid such problems in future. Reviewed-by: Pavel Reichl <preichl@redhat.com>

576ad637181b80d39a4e136c9afbf34c57f76156 19-Jan-2015 Sumit Bose <sbose@redhat.com>

krb5: fix entry order in MEMORY keytab Since krb5_kt_add_entry() adds new entries at the beginning of a MEMORY type keytab and not at the end a simple copy into a MEMORY type keytab will revert the order of the keytab entries. Since e.g. the sssd_krb5 man page give hints about where to add entries into keytab files to help SSSD to find a right entry we have to keep the order when coping a keytab into a MEMORY type keytab. This patch fixes this by doing a second copy to retain the original order. Resolves https://fedorahosted.org/sssd/ticket/2557 Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

5dcf3ffa3aa228701a79556dc0b889dba0aac535 07-Dec-2014 Sumit Bose <sbose@redhat.com>

krb5: add wrapper for krb5_kt_have_content() krb5_kt_have_content() was introduced in MIT Kerberos 1.11. For older platforms this patch adds sss_krb5_kt_have_content() as a wrapper. Resolves https://fedorahosted.org/sssd/ticket/2518 Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>

a0ab15ceb80290db80c2052520830a95390de385 02-Dec-2014 Sumit Bose <sbose@redhat.com>

krb5: add copy_keytab_into_memory() Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>