]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
drsblobs.idl: make some scannerInfo related stuff public
authorStefan Metzmacher <metze@samba.org>
Wed, 5 Feb 2025 12:16:03 +0000 (13:16 +0100)
committerStefan Metzmacher <metze@samba.org>
Sat, 8 Feb 2025 18:48:35 +0000 (18:48 +0000)
This is needed in order to use ndr_pack() on them
in python code.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
librpc/idl/drsblobs.idl

index dd78c8f2f92736743b861903e048fc5f93c6e457..815677a3e9de733a15a0a3e4f1a99807ec648637 100644 (file)
@@ -611,24 +611,24 @@ interface drsblobs {
                [charset(UTF8)] uint8 string[size];
        } ForestTrustString;
 
-       typedef [flag(NDR_NOALIGN)] struct {
+       typedef [public,flag(NDR_NOALIGN)] struct {
                [value(ndr_size_dom_sid0(&sid, ndr->flags))] uint32 sid_size;
                [subcontext(0),subcontext_size(sid_size)] dom_sid0 sid;
                ForestTrustString dns_name;
                ForestTrustString netbios_name;
        } ForestTrustDataDomainInfo;
 
-       typedef [flag(NDR_NOALIGN|NDR_PAHEX)] struct {
+       typedef [public,flag(NDR_NOALIGN|NDR_PAHEX)] struct {
                uint32 size;
                uint8 data[size];
        } ForestTrustDataBinaryData;
 
-       typedef [flag(NDR_NOALIGN)] struct {
+       typedef [public,flag(NDR_NOALIGN)] struct {
                [value(FOREST_TRUST_SCANNER_INFO)] ForestTrustInfoRecordType sub_type;
                ForestTrustDataDomainInfo info;
        } ForestTrustDataScannerInfo;
 
-       typedef [nodiscriminant] union {
+       typedef [public,nodiscriminant] union {
                [case(FOREST_TRUST_TOP_LEVEL_NAME)] ForestTrustString name;
                [case(FOREST_TRUST_TOP_LEVEL_NAME_EX)] ForestTrustString name;
                [case(FOREST_TRUST_DOMAIN_INFO)] ForestTrustDataDomainInfo info;