summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-06-01 14:36:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:23 -0500
commit63990406aef0118d459b27e89b92f4d31c7a12fd (patch)
treeab0050ebfd662c8a6361604d3b964658e3991590 /source4
parent770e3307ce3da928762e15a136c562df86a9c799 (diff)
downloadsamba-63990406aef0118d459b27e89b92f4d31c7a12fd.tar.gz
samba-63990406aef0118d459b27e89b92f4d31c7a12fd.tar.bz2
samba-63990406aef0118d459b27e89b92f4d31c7a12fd.zip
r963: Tridge, according to ethereal this is an 'Acct Ctrl' field. My tests also
indicate this although I could not find any consistent pattern. I found this as 'net rpc group list local' in Samba3 sets this to 250 and only gets a fixed, but incomplete list of groups out of W2k3. I tried to correlate the results I got from w2k3 with the LDAP contents of the corresponding entries, but I could not find anything. Ethereal only decodes the lower byte, but to get all it seems necessary to have 0xffff here. If you have time, could you might want to spend some of it decoding the bits for SAMR completeness.... Volker (This used to be commit 74e59c45603a9f897a24e37fc7626cf8ffc81403)
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);