diff options
Diffstat (limited to 'daemons/ipa-slapi-plugins/ipa-pwd-extop')
-rw-r--r-- | daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c index 615ac361f..970d26b51 100644 --- a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c +++ b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c @@ -250,9 +250,7 @@ static Slapi_Value **encrypt_encode_key(struct ipapwd_krbcfg *krbcfg, { krb5_context krbctx; char *krbPrincipalName = NULL; - uint32_t krbMaxTicketLife; int kvno, i; - int krbTicketFlags; struct berval *bval = NULL; Slapi_Value **svals = NULL; krb5_principal princ = NULL; @@ -285,16 +283,6 @@ static Slapi_Value **encrypt_encode_key(struct ipapwd_krbcfg *krbcfg, goto enc_error; } - krbMaxTicketLife = slapi_entry_attr_get_uint(data->target, - "krbMaxTicketLife"); - if (krbMaxTicketLife == 0) { - /* FIXME: retrieve the default from config (max_life from kdc.conf) */ - krbMaxTicketLife = 86400; /* just set the default 24h for now */ - } - - krbTicketFlags = slapi_entry_attr_get_int(data->target, - "krbTicketFlags"); - pwd.data = (char *)data->password; pwd.length = strlen(data->password); |