summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2014-03-20 18:39:48 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-03-21 23:06:14 +0100
commitd5043cd73bcfdca3f7e94c7df690236b30c73537 (patch)
tree221c3cdb2fbcdb3bb0eafc92ac33a9f2a0fd59f3 /src
parent636caee5776fb062fde39bc761df142005dcb589 (diff)
downloadsssd-d5043cd73bcfdca3f7e94c7df690236b30c73537.tar.gz
sssd-d5043cd73bcfdca3f7e94c7df690236b30c73537.tar.xz
sssd-d5043cd73bcfdca3f7e94c7df690236b30c73537.zip
krb5_child: remove unused option lifetime_str from k5c_setup_fast()
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/providers/krb5/krb5_child.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c
index 1bff0e99b..b10ec88b1 100644
--- a/src/providers/krb5/krb5_child.c
+++ b/src/providers/krb5/krb5_child.c
@@ -1678,7 +1678,7 @@ static errno_t k5c_recv_data(struct krb5_req *kr, int fd, uint32_t *offline)
return ret;
}
-static int k5c_setup_fast(struct krb5_req *kr, char *lifetime_str, bool demand)
+static int k5c_setup_fast(struct krb5_req *kr, bool demand)
{
krb5_principal fast_princ_struct;
krb5_data *realm_data;
@@ -1687,9 +1687,6 @@ static int k5c_setup_fast(struct krb5_req *kr, char *lifetime_str, bool demand)
krb5_error_code kerr;
char *tmp_str;
- DEBUG(SSSDBG_CONF_SETTINGS, "%s is set to [%s]\n",
- SSSD_KRB5_LIFETIME, lifetime_str);
-
tmp_str = getenv(SSSD_KRB5_FAST_PRINCIPAL);
if (tmp_str) {
DEBUG(SSSDBG_CONF_SETTINGS, "%s is set to [%s]\n",
@@ -1885,9 +1882,9 @@ static int k5c_setup(struct krb5_req *kr, uint32_t offline)
if (use_fast_str == NULL || strcasecmp(use_fast_str, "never") == 0) {
DEBUG(SSSDBG_CONF_SETTINGS, "Not using FAST.\n");
} else if (strcasecmp(use_fast_str, "try") == 0) {
- kerr = k5c_setup_fast(kr, lifetime_str, false);
+ kerr = k5c_setup_fast(kr, false);
} else if (strcasecmp(use_fast_str, "demand") == 0) {
- kerr = k5c_setup_fast(kr, lifetime_str, true);
+ kerr = k5c_setup_fast(kr, true);
} else {
DEBUG(SSSDBG_CRIT_FAILURE,
"Unsupported value [%s] for krb5_use_fast.\n",