From 81d98b780b86b340077e624f25575c99ad1c364b Mon Sep 17 00:00:00 2001 From: Rabinarayan Panigrahi Date: Tue, 26 Aug 2025 12:02:25 +0530 Subject: [PATCH] CID 1509059 winbind: Fixing print statement for time_t Fixing DEBUG output for time_t to uintmax_t Signed-off-by: Rabinarayan Panigrahi Reviewed-by: Volker Lendecke Reviewed-by: Martin Schwenke Autobuild-User(master): Martin Schwenke Autobuild-Date(master): Wed Aug 27 02:17:29 UTC 2025 on atb-devel-224 --- source3/passdb/passdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 229e1637d7b..297c6d0fbe4 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -2226,8 +2226,8 @@ bool pdb_update_autolock_flag(struct samu *sampass, bool *updated) } LastBadPassword = pdb_get_bad_password_time(sampass); - DEBUG(7, ("pdb_update_autolock_flag: Account %s, LastBadPassword=%d, duration=%d, current time =%d.\n", - pdb_get_username(sampass), (uint32_t)LastBadPassword, duration*60, (uint32_t)time(NULL))); + DEBUG(7, ("pdb_update_autolock_flag: Account %s, LastBadPassword=%ju, duration=%d, current time =%ju.\n", + pdb_get_username(sampass), (uintmax_t)LastBadPassword, duration*60, (uintmax_t)time(NULL))); if (LastBadPassword == (time_t)0) { DEBUG(1,("pdb_update_autolock_flag: Account %s " -- 2.47.3