From: Rabinarayan Panigrahi Date: Tue, 26 Aug 2025 06:32:25 +0000 (+0530) Subject: CID 1509059 winbind: Fixing print statement for time_t X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=81d98b780b86b340077e624f25575c99ad1c364b;p=thirdparty%2Fsamba.git 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 --- 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 "