summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/providers/krb5/krb5_delayed_online_authentication.c3
-rw-r--r--src/util/sss_format.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_delayed_online_authentication.c b/src/providers/krb5/krb5_delayed_online_authentication.c
index 87e0f3c6..46ed6f65 100644
--- a/src/providers/krb5/krb5_delayed_online_authentication.c
+++ b/src/providers/krb5/krb5_delayed_online_authentication.c
@@ -279,7 +279,8 @@ errno_t add_user_to_delayed_online_authentication(struct krb5_ctx *krb5_ctx,
talloc_free(new_pd);
return ret;
}
- DEBUG(9, ("Saved authtok of user [%s] with serial [%ld].\n",
+ DEBUG(SSSDBG_TRACE_ALL,
+ ("Saved authtok of user [%s] with serial [%"SPRIkey_ser"].\n",
new_pd->user, new_pd->key_serial));
sss_authtok_set_empty(new_pd->authtok);
#endif
diff --git a/src/util/sss_format.h b/src/util/sss_format.h
index db1a5051..ac3d3828 100644
--- a/src/util/sss_format.h
+++ b/src/util/sss_format.h
@@ -29,4 +29,7 @@
#include <inttypes.h>
+/* key_serial_t is defined in keyutils.h as typedef int32_t */
+#define SPRIkey_ser PRId32
+
#endif /* __SSS_FORMAT_H__ */