]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:auth: Use appropriate type for userAccountControl flags
authorJo Sutton <josutton@catalyst.net.nz>
Thu, 13 Jun 2024 22:42:51 +0000 (10:42 +1200)
committerMartin Schwenke <martins@samba.org>
Tue, 2 Jul 2024 03:39:35 +0000 (03:39 +0000)
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Martin Schwenke <martin@meltin.net>
source4/auth/sam.c

index 093d29080ecf39143efb538b5188c1f8da8d1d4d..f21827118cf4f811cab99ad07adcf37deeccb443 100644 (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;