From: Jo Sutton Date: Thu, 13 Jun 2024 22:43:07 +0000 (+1200) Subject: s4:dsdb: Use appropriate type for userAccountControl flags X-Git-Tag: tdb-1.4.11~230 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c4728578def951666cfa525eca403cd1a2f90852;p=thirdparty%2Fsamba.git s4:dsdb: Use appropriate type for userAccountControl flags Signed-off-by: Jo Sutton Reviewed-by: Martin Schwenke --- 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");