[SCM] Samba Shared Repository - branch master updated
Anoop C S
anoopcs at samba.org
Wed Sep 10 15:24:01 UTC 2025
The branch, master has been updated
via 262ae876654 source3/passdb: Follow up to the fix for CID 1508970
via b2468d85f35 source3/utils: Follow up to the fix for CID 1508980
from c694aa58b01 utils: Fixing CID 1509038 for time_t in DEBUG statement
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 262ae87665499fa546bb79f93e264bc696567392
Author: Anoop C S <anoopcs at samba.org>
Date: Wed Sep 10 17:15:59 2025 +0530
source3/passdb: Follow up to the fix for CID 1508970
Fixing another occurrence for the same CID in the same DEBUG statement.
See the previous commit c25a5a26a1cba698420fb64e23bee3b52540b21b.
Signed-off-by: Anoop C S <anoopcs at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
Autobuild-User(master): Anoop C S <anoopcs at samba.org>
Autobuild-Date(master): Wed Sep 10 15:23:08 UTC 2025 on atb-devel-224
commit b2468d85f35c13697997e139f160ff35aeeda54e
Author: Anoop C S <anoopcs at samba.org>
Date: Wed Sep 10 17:11:49 2025 +0530
source3/utils: Follow up to the fix for CID 1508980
Fixing two other occurrences for the same CID in the same file.
See previous commit ba0a748654b11bff5caaf3e8aca0ab7a5bd7022c.
Signed-off-by: Anoop C S <anoopcs at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
-----------------------------------------------------------------------
Summary of changes:
source3/passdb/login_cache.c | 4 ++--
source3/utils/net_rpc_sh_acct.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/passdb/login_cache.c b/source3/passdb/login_cache.c
index e4f23f0caba..4f7262a6834 100644
--- a/source3/passdb/login_cache.c
+++ b/source3/passdb/login_cache.c
@@ -116,8 +116,8 @@ bool login_cache_read(struct samu *sampass, struct login_cache *entry)
SAFE_FREE(databuf.dptr);
- DEBUG(5, ("Found login cache entry: timestamp %12u, flags 0x%x, count %d, time %12jd\n",
- (unsigned int)entry->entry_timestamp, entry->acct_ctrl,
+ DEBUG(5, ("Found login cache entry: timestamp %12jd, flags 0x%x, count %d, time %12jd\n",
+ (intmax_t)entry->entry_timestamp, entry->acct_ctrl,
entry->bad_password_count, (intmax_t)entry->bad_password_time));
return true;
}
diff --git a/source3/utils/net_rpc_sh_acct.c b/source3/utils/net_rpc_sh_acct.c
index dc2e56f5f9b..c45ea03399a 100644
--- a/source3/utils/net_rpc_sh_acct.c
+++ b/source3/utils/net_rpc_sh_acct.c
@@ -200,7 +200,7 @@ static int account_show(struct net_context *c,
d_printf(_("Minimum password age: "));
if (!nt_time_is_zero((NTTIME *)&i1->min_password_age)) {
time_t t = nt_time_to_unix_abs((NTTIME *)&i1->min_password_age);
- d_printf(_("%d seconds\n"), (int)t);
+ d_printf(_("%jd seconds\n"), (intmax_t)t);
} else {
d_printf(_("not set\n"));
}
@@ -208,7 +208,7 @@ static int account_show(struct net_context *c,
d_printf(_("Maximum password age: "));
if (nt_time_is_set((NTTIME *)&i1->max_password_age)) {
time_t t = nt_time_to_unix_abs((NTTIME *)&i1->max_password_age);
- d_printf(_("%d seconds\n"), (int)t);
+ d_printf(_("%jd seconds\n"), (intmax_t)t);
} else {
d_printf(_("not set\n"));
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list