From c4728578def951666cfa525eca403cd1a2f90852 Mon Sep 17 00:00:00 2001 From: Jo Sutton Date: Fri, 14 Jun 2024 10:43:07 +1200 Subject: [PATCH] s4:dsdb: Use appropriate type for userAccountControl flags Signed-off-by: Jo Sutton Reviewed-by: Martin Schwenke --- source4/dsdb/common/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c index 689fbd22a38..868ce432719 100644 --- a/source4/dsdb/common/util.c +++ b/source4/dsdb/common/util.c @@ -645,7 +645,7 @@ NTSTATUS samdb_result_passwords(TALLOC_CTX *mem_ctx, const struct ldb_message *msg, struct samr_Password **nt_pwd) { - uint16_t acct_flags; + uint32_t acct_flags; acct_flags = samdb_result_acct_flags(msg, "msDS-User-Account-Control-Computed");