From: Stefan Metzmacher Date: Tue, 17 Dec 2024 16:49:52 +0000 (+0100) Subject: drsblobs.idl: use dom_sid0 in ForestTrustDataDomainInfo X-Git-Tag: tevent-0.17.0~813 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=896617acae66054f1b021d72830da5b070928a03;p=thirdparty%2Fsamba.git drsblobs.idl: use dom_sid0 in ForestTrustDataDomainInfo We already use ndr_size_dom_sid0() and when ForestTrustDataDomainInfo is used as part of ForestTrustDataScannerInfo, sid_size is 0 and the subcontext for the sid is skipped. Signed-off-by: Stefan Metzmacher Reviewed-by: Jennifer Sutton --- diff --git a/librpc/idl/drsblobs.idl b/librpc/idl/drsblobs.idl index b4f053dc197..dd78c8f2f92 100644 --- a/librpc/idl/drsblobs.idl +++ b/librpc/idl/drsblobs.idl @@ -613,7 +613,7 @@ interface drsblobs { typedef [flag(NDR_NOALIGN)] struct { [value(ndr_size_dom_sid0(&sid, ndr->flags))] uint32 sid_size; - [subcontext(0),subcontext_size(sid_size)] dom_sid sid; + [subcontext(0),subcontext_size(sid_size)] dom_sid0 sid; ForestTrustString dns_name; ForestTrustString netbios_name; } ForestTrustDataDomainInfo; diff --git a/selftest/knownfail.d/samba4.local.ndr b/selftest/knownfail.d/samba4.local.ndr deleted file mode 100644 index a81b52e7bca..00000000000 --- a/selftest/knownfail.d/samba4.local.ndr +++ /dev/null @@ -1 +0,0 @@ -^samba4.local.ndr.*.drsblobs.ForestTrustInfo_with_scanner.forest_trust_info_check_out2