diff options
-rw-r--r-- | src/providers/krb5/krb5_child_handler.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_child_handler.c b/src/providers/krb5/krb5_child_handler.c index 161fa269..1da7e4f4 100644 --- a/src/providers/krb5/krb5_child_handler.c +++ b/src/providers/krb5/krb5_child_handler.c @@ -148,8 +148,13 @@ static errno_t create_send_buffer(struct krb5child_req *kr, } else { send_pac = 1; } - use_enterprise_principal = dp_opt_get_bool(kr->krb5_ctx->opts, + + if (kr->pd->cmd == SSS_CMD_RENEW) { + use_enterprise_principal = false; + } else { + use_enterprise_principal = dp_opt_get_bool(kr->krb5_ctx->opts, KRB5_USE_ENTERPRISE_PRINCIPAL) ? 1 : 0; + } buf = talloc(kr, struct io_buffer); if (buf == NULL) { |