[SCM] Samba Shared Repository - branch master updated

Martin Schwenke martins at samba.org
Wed Aug 27 02:18:01 UTC 2025


The branch, master has been updated
       via  81d98b780b8 CID 1509059 winbind: Fixing print statement for time_t
      from  0aee889f554 python:tarfile: notes about extraction_filter

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 81d98b780b86b340077e624f25575c99ad1c364b
Author: Rabinarayan Panigrahi <rapanigr at redhat.com>
Date:   Tue Aug 26 12:02:25 2025 +0530

    CID 1509059 winbind: Fixing print statement for time_t
    
    Fixing DEBUG output for time_t to uintmax_t
    
    Signed-off-by: Rabinarayan Panigrahi <rapanigr at redhat.com>
    Reviewed-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Martin Schwenke <martin at meltin.net>
    
    Autobuild-User(master): Martin Schwenke <martins at samba.org>
    Autobuild-Date(master): Wed Aug 27 02:17:29 UTC 2025 on atb-devel-224

-----------------------------------------------------------------------

Summary of changes:
 source3/passdb/passdb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

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 "


-- 
Samba Shared Repository



More information about the samba-cvs mailing list