gkdi.idl: Comment on domain and forest name fields
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 18 Dec 2023 20:51:30 +0000 (09:51 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 21 Dec 2023 20:21:34 +0000 (20:21 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
librpc/idl/gkdi.idl

index 4f035273cf4a15ff5c9532fa164c05de280df1b6..db45df2613b654a37687a2001b8be10a86cc43a3 100644 (file)
@@ -45,8 +45,8 @@ interface gkdi
                uint32 unknown; /* This might be the length of a key that is rarely or never present. */
                [value(2 * ndr_charset_length(domain_name, CH_UTF16))] uint32 domain_name_len;
                [value(2 * ndr_charset_length(forest_name, CH_UTF16))] uint32 forest_name_len;
-               nstring domain_name;
-               nstring forest_name;
+               nstring domain_name; /* DNS name of the domain which generated the key. */
+               nstring forest_name; /* DNS name of the forest which generated the key. */
        } KeyEnvelope;
 
        typedef [public] struct {
@@ -71,8 +71,8 @@ interface gkdi
                uint8 kdf_parameters[kdf_parameters_len];
                nstring secret_agreement_algorithm;
                uint8 secret_agreement_parameters[secret_agreement_parameters_len];
-               nstring domain_name;
-               nstring forest_name;
+               nstring domain_name; /* DNS name of the domain which generated the key. */
+               nstring forest_name; /* DNS name of the forest which generated the key. */
                [flag(NDR_SECRET)] uint8 l1_key[l1_key_len];
                [flag(NDR_SECRET)] uint8 l2_key[l2_key_len];
        } GroupKeyEnvelope;