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

s4:auth: 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:42:51 +12:00 committed by Martin Schwenke
parent 8a456f373f
commit 3dffd0fa67

View File

@ -1003,7 +1003,7 @@ NTSTATUS authsam_reread_user_logon_data(
TALLOC_CTX *tmp_ctx = NULL;
const struct ldb_val *v = NULL;
struct ldb_result *res = NULL;
uint16_t acct_flags = 0;
uint32_t acct_flags = 0;
const char *attr_name = "msDS-User-Account-Control-Computed";
NTSTATUS status = NT_STATUS_OK;
int ret;