]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:dsdb: Make array static
authorJo Sutton <josutton@catalyst.net.nz>
Mon, 12 Feb 2024 03:50:39 +0000 (16:50 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 16 Feb 2024 02:41:36 +0000 (02:41 +0000)
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/samldb.c

index ea22d412a47c48b16ff9724b59649077947f4fbe..4288cfff4465ace1dd7199a93a01e9ce69eb4820 100644 (file)
@@ -2560,7 +2560,7 @@ static int samldb_check_user_account_control_acl(struct samldb_ctx *ac,
        struct security_token *user_token;
        struct security_descriptor *domain_sd;
        const struct dsdb_class *objectclass = NULL;
-       const struct uac_to_guid {
+       static const struct uac_to_guid {
                uint32_t uac;
                uint32_t priv_to_change_from;
                const char *oid;