1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +03:00

s4:dsdb: Use appropriate type for userAccountControl flags

Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Jo Sutton 2024-06-14 10:43:07 +12:00 committed by Martin Schwenke
parent 3dffd0fa67
commit c4728578de

View File

@ -645,7 +645,7 @@ NTSTATUS samdb_result_passwords(TALLOC_CTX *mem_ctx,
const struct ldb_message *msg, const struct ldb_message *msg,
struct samr_Password **nt_pwd) struct samr_Password **nt_pwd)
{ {
uint16_t acct_flags; uint32_t acct_flags;
acct_flags = samdb_result_acct_flags(msg, acct_flags = samdb_result_acct_flags(msg,
"msDS-User-Account-Control-Computed"); "msDS-User-Account-Control-Computed");