From e54964c61840e108f34b6a9c931fb15a35c4f48c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 12 Jan 2005 07:57:33 +0000 Subject: r4703: Add support for EnumTrustDomain, and expand the testsuite. Add my copyright to the SAMR server. Andrew Bartlett (This used to be commit 51e94fa26cc602ddca652776c213cd7096f9703a) --- source4/librpc/idl/lsa.idl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source4/librpc') diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl index 8aeb40b3bc..9ed8756016 100644 --- a/source4/librpc/idl/lsa.idl +++ b/source4/librpc/idl/lsa.idl @@ -270,6 +270,9 @@ /******************/ /* Function: 0x0d */ + /* w2k3 treats max_size as max_domains*60 */ + const int LSA_ENUM_TRUST_DOMAIN_MULTIPLIER = 60; + typedef struct { lsa_String name; dom_sid2 *sid; @@ -283,7 +286,7 @@ NTSTATUS lsa_EnumTrustDom ( [in,ref] policy_handle *handle, [in,out,ref] uint32 *resume_handle, - [in,range(0,1000)] uint32 num_entries, + [in,range(0,1000)] uint32 max_size, [out,ref] lsa_DomainList *domains ); -- cgit