]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:dsdb: Remove duplicate userAccountControl array entry
authorJo Sutton <josutton@catalyst.net.nz>
Sun, 7 Jan 2024 22:41:30 +0000 (11:41 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 8 Feb 2024 02:48:44 +0000 (02:48 +0000)
This entry is identical to the third array entry.

Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/samldb.c

index d79138ad5059c388a41aaf973184786a5f5591ed..ea22d412a47c48b16ff9724b59649077947f4fbe 100644 (file)
@@ -2362,11 +2362,6 @@ static int samldb_check_user_account_control_invariants(struct samldb_ctx *ac,
                        .not_with = UF_ACCOUNT_TYPE_MASK & ~UF_SERVER_TRUST_ACCOUNT,
                        .error_string = "Setting more than one account type not permitted"
                },
-               {
-                       .uac = UF_TRUSTED_FOR_DELEGATION,
-                       .not_with = UF_PARTIAL_SECRETS_ACCOUNT,
-                       .error_string = "Setting UF_TRUSTED_FOR_DELEGATION not allowed with UF_PARTIAL_SECRETS_ACCOUNT"
-               }
        };
 
        for (i = 0; i < ARRAY_SIZE(map); i++) {