summaryrefslogtreecommitdiffstats
path: root/src/util/sss_krb5.h
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-09-25 15:02:12 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-10-02 16:54:16 +0200
commit798a227df11f49147fa43e515910ec11e21e0caa (patch)
tree356c7503ea08a7e37a9e6aac73db2c1390e1df3b /src/util/sss_krb5.h
parentfa893b2796b002f709e9416f134bc8df8c08cf8d (diff)
downloadsssd-798a227df11f49147fa43e515910ec11e21e0caa.tar.gz
sssd-798a227df11f49147fa43e515910ec11e21e0caa.tar.xz
sssd-798a227df11f49147fa43e515910ec11e21e0caa.zip
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.
Diffstat (limited to 'src/util/sss_krb5.h')
-rw-r--r--src/util/sss_krb5.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/util/sss_krb5.h b/src/util/sss_krb5.h
index 22d2c96eb..15dd1e6a6 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);