From: Stefan Metzmacher Date: Wed, 5 Feb 2025 12:16:03 +0000 (+0100) Subject: drsblobs.idl: make some scannerInfo related stuff public X-Git-Tag: tevent-0.17.0~812 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c9f2e4a8f163138c080dda0cfe7b85f8f63d530;p=thirdparty%2Fsamba.git drsblobs.idl: make some scannerInfo related stuff public This is needed in order to use ndr_pack() on them in python code. Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- diff --git a/librpc/idl/drsblobs.idl b/librpc/idl/drsblobs.idl index dd78c8f2f92..815677a3e9d 100644 --- a/librpc/idl/drsblobs.idl +++ b/librpc/idl/drsblobs.idl @@ -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;