]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:kdc: Make boolean members into bit‐fields
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 3 Oct 2023 01:33:48 +0000 (14:33 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 12 Oct 2023 23:13:32 +0000 (23:13 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/samba_kdc.h

index 52ca4e81023f76f10d9ae13cf68cace41d7a4e44..3b8c20fc28ff8540304767d76bfb6b0071acb786 100644 (file)
@@ -63,11 +63,11 @@ struct samba_kdc_entry {
        struct auth_user_info_dc *info_from_db;
        const struct authn_kerberos_client_policy *client_policy;
        const struct authn_server_policy *server_policy;
-       bool is_krbtgt;
-       bool is_rodc;
-       bool is_trust;
        uint32_t supported_enctypes;
        NTSTATUS reject_status;
+       bool is_krbtgt : 1;
+       bool is_rodc : 1;
+       bool is_trust : 1;
 };
 
 extern struct hdb_method hdb_samba4_interface;