summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-20 03:18:07 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-20 03:18:07 +0000
commit52cae6b9088cae3c2daa8d195dcaba0c481a87d3 (patch)
tree6f3166e981ea43726dd511b1439d2970225040fe /source4/librpc/rpc
parent308cc429eb7c07d94609f2818e9d81239cb4cbb9 (diff)
downloadsamba-52cae6b9088cae3c2daa8d195dcaba0c481a87d3.tar.gz
samba-52cae6b9088cae3c2daa8d195dcaba0c481a87d3.tar.bz2
samba-52cae6b9088cae3c2daa8d195dcaba0c481a87d3.zip
added samr_LookupRids() and test code
(This used to be commit c32c33a791dd42676ca7fa47aae264e8d8ea8339)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/rpc_samr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/librpc/rpc/rpc_samr.c b/source4/librpc/rpc/rpc_samr.c
index 16bb74aee1..a3b06ef81d 100644
--- a/source4/librpc/rpc/rpc_samr.c
+++ b/source4/librpc/rpc/rpc_samr.c
@@ -381,21 +381,21 @@ NTSTATUS dcerpc_samr_LookupNames(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, str
return status;
}
-NTSTATUS dcerpc_samr_LOOKUP_RIDS(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_LOOKUP_RIDS *r)
+NTSTATUS dcerpc_samr_LookupRids(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct samr_LookupRids *r)
{
NTSTATUS status;
if (p->flags & DCERPC_DEBUG_PRINT_IN) {
- NDR_PRINT_IN_DEBUG(samr_LOOKUP_RIDS, r);
+ NDR_PRINT_IN_DEBUG(samr_LookupRids, r);
}
- status = dcerpc_ndr_request(p, DCERPC_SAMR_LOOKUP_RIDS, mem_ctx,
- (ndr_push_fn_t) ndr_push_samr_LOOKUP_RIDS,
- (ndr_pull_fn_t) ndr_pull_samr_LOOKUP_RIDS,
+ status = dcerpc_ndr_request(p, DCERPC_SAMR_LOOKUPRIDS, mem_ctx,
+ (ndr_push_fn_t) ndr_push_samr_LookupRids,
+ (ndr_pull_fn_t) ndr_pull_samr_LookupRids,
r);
if (NT_STATUS_IS_OK(status) && (p->flags & DCERPC_DEBUG_PRINT_OUT)) {
- NDR_PRINT_OUT_DEBUG(samr_LOOKUP_RIDS, r);
+ NDR_PRINT_OUT_DEBUG(samr_LookupRids, r);
}
if (NT_STATUS_IS_OK(status)) status = r->out.result;