From 798a227df11f49147fa43e515910ec11e21e0caa Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Tue, 25 Sep 2012 15:02:12 +0200 Subject: remove left over principal selection https://fedorahosted.org/sssd/ticket/1303 Domain start up was taking too long when there are many principals in a kerberos keytab. We were looking up in the keytab two times. The first time we try to select a proper principal and remember it. The second call happens almost right after the first one and it is just a check if the principal exists in the keytab, without any output information other than success/failure. It is probably a left over from https://fedorahosted.org/sssd/ticket/781. This patch removes the second call. --- src/util/sss_krb5.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/util/sss_krb5.h') diff --git a/src/util/sss_krb5.h b/src/util/sss_krb5.h index 22d2c96e..15dd1e6a 100644 --- a/src/util/sss_krb5.h +++ b/src/util/sss_krb5.h @@ -71,10 +71,6 @@ krb5_error_code check_for_valid_tgt(krb5_context context, krb5_ccache ccache, const char *realm, const char *client_princ_str, bool *result); -int sss_krb5_verify_keytab(const char *principal, - const char *realm_str, - const char *keytab_name); - int sss_krb5_verify_keytab_ex(const char *principal, const char *keytab_name, krb5_context context, krb5_keytab keytab); -- cgit