diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-10 12:12:22 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-10 12:12:22 +0000 |
commit | 4659d4f9e2bfdbd253ff14e9181dd65023ff6c6a (patch) | |
tree | 5306b99dbe6c2cac68b8755c1a21fec127a84068 /source4/librpc/rpc | |
parent | a9fbdd4838a40b51df592023f5507b3db0923668 (diff) | |
download | samba-4659d4f9e2bfdbd253ff14e9181dd65023ff6c6a.tar.gz samba-4659d4f9e2bfdbd253ff14e9181dd65023ff6c6a.tar.bz2 samba-4659d4f9e2bfdbd253ff14e9181dd65023ff6c6a.zip |
added IDL and test for lsa_EnumAccountRights()
interestingly, win2000 doesn't return the same list of rights via
lsa_EnumAccountRights() and lsa_EnumPrivsAccount()
(This used to be commit 447c5f13d40d05a49b8bfa1c28c2797371ff5352)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r-- | source4/librpc/rpc/rpc_lsa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/librpc/rpc/rpc_lsa.c b/source4/librpc/rpc/rpc_lsa.c index c514cdbb78..dce1c7037e 100644 --- a/source4/librpc/rpc/rpc_lsa.c +++ b/source4/librpc/rpc/rpc_lsa.c @@ -507,12 +507,12 @@ NTSTATUS dcerpc_ENUMACCTWITHRIGHT(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, st return r->out.result; } -NTSTATUS dcerpc_ENUMACCTRIGHTS(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct ENUMACCTRIGHTS *r) +NTSTATUS dcerpc_lsa_EnumAccountRights(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_EnumAccountRights *r) { NTSTATUS status; - status = dcerpc_ndr_request(p, DCERPC_ENUMACCTRIGHTS, mem_ctx, - (ndr_push_fn_t) ndr_push_ENUMACCTRIGHTS, - (ndr_pull_fn_t) ndr_pull_ENUMACCTRIGHTS, + status = dcerpc_ndr_request(p, DCERPC_LSA_ENUMACCOUNTRIGHTS, mem_ctx, + (ndr_push_fn_t) ndr_push_lsa_EnumAccountRights, + (ndr_pull_fn_t) ndr_pull_lsa_EnumAccountRights, r); if (!NT_STATUS_IS_OK(status)) { return status; |