summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-01-12 07:57:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:45 -0500
commite54964c61840e108f34b6a9c931fb15a35c4f48c (patch)
tree2192b9bd70714a3c7d25f95b5ab94965995afb29 /source4/librpc/idl
parent516dbfd5ed45159366840087398669c5224d2844 (diff)
downloadsamba-e54964c61840e108f34b6a9c931fb15a35c4f48c.tar.gz
samba-e54964c61840e108f34b6a9c931fb15a35c4f48c.tar.bz2
samba-e54964c61840e108f34b6a9c931fb15a35c4f48c.zip
r4703: Add support for EnumTrustDomain, and expand the testsuite.
Add my copyright to the SAMR server. Andrew Bartlett (This used to be commit 51e94fa26cc602ddca652776c213cd7096f9703a)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/lsa.idl5
1 files changed, 4 insertions, 1 deletions
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
);