summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/rpc_lsa.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-09 00:58:40 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-09 00:58:40 +0000
commitcff32d6b0ae3b8f17973f544d8be891704437915 (patch)
treee1bf089b426305deb478750336cef08906c9bf93 /source4/librpc/rpc/rpc_lsa.c
parent2430e941d748beebd1297c83d176982e7ff89be7 (diff)
downloadsamba-cff32d6b0ae3b8f17973f544d8be891704437915.tar.gz
samba-cff32d6b0ae3b8f17973f544d8be891704437915.tar.bz2
samba-cff32d6b0ae3b8f17973f544d8be891704437915.zip
added idl, generated code and test code for lsa_LookupSids
(This used to be commit afa1ff5f08fceba3d34b4e0965fe7e0c0143ede9)
Diffstat (limited to 'source4/librpc/rpc/rpc_lsa.c')
-rw-r--r--source4/librpc/rpc/rpc_lsa.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/source4/librpc/rpc/rpc_lsa.c b/source4/librpc/rpc/rpc_lsa.c
index f11519a3c3..c6f6f80e73 100644
--- a/source4/librpc/rpc/rpc_lsa.c
+++ b/source4/librpc/rpc/rpc_lsa.c
@@ -148,3 +148,23 @@ NTSTATUS dcerpc_lsa_EnumSids(struct dcerpc_pipe *p,
done:
return status;
}
+
+/*
+ LookupSids interface
+*/
+NTSTATUS dcerpc_lsa_LookupSids(struct dcerpc_pipe *p,
+ TALLOC_CTX *mem_ctx,
+ struct lsa_LookupSids *r)
+{
+ NTSTATUS status;
+
+ status = dcerpc_ndr_request(p, LSA_LOOKUPSIDS, mem_ctx,
+ (ndr_push_fn_t) ndr_push_lsa_LookupSids,
+ (ndr_pull_fn_t) ndr_pull_lsa_LookupSids,
+ r);
+ if (!NT_STATUS_IS_OK(status)) {
+ return status;
+ }
+
+ return r->out.result;
+}