summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/providers/krb5/krb5_common.c5
-rw-r--r--src/util/sss_krb5.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/providers/krb5/krb5_common.c b/src/providers/krb5/krb5_common.c
index 8f5eb496..0e1c10be 100644
--- a/src/providers/krb5/krb5_common.c
+++ b/src/providers/krb5/krb5_common.c
@@ -923,8 +923,9 @@ errno_t krb5_get_simple_upn(TALLOC_CTX *mem_ctx, struct krb5_ctx *krb5_ctx,
*/
ret = sss_parse_name(tmp_ctx, dom->names, username, &domname, &name);
if (ret != EOK) {
- DEBUG(SSSDBG_OP_FAILURE, ("Could not parse %s into name and " \
- "domain components, login might fail\n"));
+ DEBUG(SSSDBG_OP_FAILURE,
+ ("Could not parse [%s] into name and "
+ "domain components, login might fail\n", username));
name = discard_const(username);
}
diff --git a/src/util/sss_krb5.c b/src/util/sss_krb5.c
index 204e0c2a..b871b13c 100644
--- a/src/util/sss_krb5.c
+++ b/src/util/sss_krb5.c
@@ -640,7 +640,7 @@ errno_t check_fast(const char *str, bool *use_fast)
*use_fast = true;
} else {
sss_log(SSS_LOG_ALERT, "Unsupported value [%s] for option krb5_use_fast,"
- "please use never, try, or demand.\n");
+ "please use never, try, or demand.\n", str);
return EINVAL;
}