summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/samr.idl2
-rw-r--r--source4/torture/rpc/samr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index 960d007bd3..eb45513db0 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -317,7 +317,7 @@
NTSTATUS samr_EnumDomainAliases(
[in,ref] policy_handle *handle,
[in,out,ref] uint32 *resume_handle,
- [in] uint32 max_size,
+ [in] uint32 account_flags,
[out] samr_SamArray *sam,
[out] uint32 num_entries
);
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index 48ae84a9ea..3a243abfce 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -1971,7 +1971,7 @@ static BOOL test_EnumDomainAliases(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
r.in.handle = handle;
r.in.resume_handle = &resume_handle;
- r.in.max_size = (uint32_t)-1;
+ r.in.account_flags = (uint32_t)-1;
r.out.resume_handle = &resume_handle;
status = dcerpc_samr_EnumDomainAliases(p, mem_ctx, &r);