diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-09 02:21:24 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-09 02:21:24 +0000 |
commit | 946d358646977e265cb36b34324a1145c6121870 (patch) | |
tree | 7e537d756241e98dfa2d4bbb44f50ee3f4e6d648 /source4/librpc/rpc | |
parent | 75a30ad8283c49bb426c087344e40ed09abe95fd (diff) | |
download | samba-946d358646977e265cb36b34324a1145c6121870.tar.gz samba-946d358646977e265cb36b34324a1145c6121870.tar.bz2 samba-946d358646977e265cb36b34324a1145c6121870.zip |
lsa_LookupNames now works
(This used to be commit fba3a7ad22edcbe394861e42b5e5c53709e9d5fe)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r-- | source4/librpc/rpc/rpc_lsa.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/source4/librpc/rpc/rpc_lsa.c b/source4/librpc/rpc/rpc_lsa.c index c6f6f80e73..82039244e7 100644 --- a/source4/librpc/rpc/rpc_lsa.c +++ b/source4/librpc/rpc/rpc_lsa.c @@ -168,3 +168,23 @@ NTSTATUS dcerpc_lsa_LookupSids(struct dcerpc_pipe *p, return r->out.result; } + +/* + LookupNames interface +*/ +NTSTATUS dcerpc_lsa_LookupNames(struct dcerpc_pipe *p, + TALLOC_CTX *mem_ctx, + struct lsa_LookupNames *r) +{ + NTSTATUS status; + + status = dcerpc_ndr_request(p, LSA_LOOKUPNAMES, mem_ctx, + (ndr_push_fn_t) ndr_push_lsa_LookupNames, + (ndr_pull_fn_t) ndr_pull_lsa_LookupNames, + r); + if (!NT_STATUS_IS_OK(status)) { + return status; + } + + return r->out.result; +} |