diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-08 11:21:57 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-08 11:21:57 +0000 |
commit | 7d212460a5c00b4039440c2db0dde56e7d519d66 (patch) | |
tree | 7c14238930104c5edc8711f480b3ba0095d8d687 /source4/librpc/rpc | |
parent | 4e4a63d5185d1567c115e7cbf15022b0fbcbc870 (diff) | |
download | samba-7d212460a5c00b4039440c2db0dde56e7d519d66.tar.gz samba-7d212460a5c00b4039440c2db0dde56e7d519d66.tar.bz2 samba-7d212460a5c00b4039440c2db0dde56e7d519d66.zip |
- corrected some lsa idl
- updated lsa parse code from pidl
(This used to be commit 3983b2aee77b0e093847bfc02e02b83ab281f5dd)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r-- | source4/librpc/rpc/rpc_lsa.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/librpc/rpc/rpc_lsa.c b/source4/librpc/rpc/rpc_lsa.c index 2aa3f78730..8a627aa562 100644 --- a/source4/librpc/rpc/rpc_lsa.c +++ b/source4/librpc/rpc/rpc_lsa.c @@ -118,17 +118,17 @@ done: NTSTATUS dcerpc_lsa_EnumSids(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct policy_handle *handle, - uint32 resume_handle, - uint32 *num_entries, - struct dom_sid ***sids) + uint32 *resume_handle, + uint32 num_entries, + struct lsa_SidArray *sids) { struct lsa_EnumSids r; NTSTATUS status; /* fill the .in side of the call */ r.in.handle = handle; - r.in.start_at = 0; - r.in.num_entries = *num_entries; + r.in.resume_handle = *resume_handle; + r.in.num_entries = num_entries; /* make the call */ status = dcerpc_ndr_request(p, LSA_ENUM_ACCOUNTS, mem_ctx, @@ -140,8 +140,8 @@ NTSTATUS dcerpc_lsa_EnumSids(struct dcerpc_pipe *p, } /* and extract the .out parameters */ - *num_entries = r.out.num_entries; - *sids = r.out.sids; + *resume_handle = r.out.resume_handle; + *sids = *r.out.sids; status = r.out.result; done: |