summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-14 13:31:55 +0100
committerGünther Deschner <gd@samba.org>2008-02-14 13:53:27 +0100
commitc6cd8ec909269be0f6800c7d59db94090b3c647b (patch)
tree16b6bbc0da554eeffcbfd300bd322786ebbb6007 /source3/rpc_client
parenta75d6543a00fbdc52f2f783377737c4dc6f28569 (diff)
downloadsamba-c6cd8ec909269be0f6800c7d59db94090b3c647b.tar.gz
samba-c6cd8ec909269be0f6800c7d59db94090b3c647b.tar.bz2
samba-c6cd8ec909269be0f6800c7d59db94090b3c647b.zip
Remove unused marshalling for LSA_LOOKUP_PRIV_VALUE.
Guenther (This used to be commit 8125d8557fb4b27873f8eabc6ad1019491d18cce)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_lsarpc.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c
index c5ad98c3ad..9d9a131a1a 100644
--- a/source3/rpc_client/cli_lsarpc.c
+++ b/source3/rpc_client/cli_lsarpc.c
@@ -452,46 +452,6 @@ NTSTATUS rpccli_lsa_lookup_names(struct rpc_pipe_client *cli,
return result;
}
-/** Get a privilege value given its name */
-
-NTSTATUS rpccli_lsa_lookup_priv_value(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *pol, const char *name, LUID *luid)
-{
- prs_struct qbuf, rbuf;
- LSA_Q_LOOKUP_PRIV_VALUE q;
- LSA_R_LOOKUP_PRIV_VALUE r;
- NTSTATUS result;
-
- ZERO_STRUCT(q);
- ZERO_STRUCT(r);
-
- /* Marshall data and send request */
-
- init_lsa_q_lookup_priv_value(&q, pol, name);
-
- CLI_DO_RPC( cli, mem_ctx, PI_LSARPC, LSA_LOOKUPPRIVVALUE,
- q, r,
- qbuf, rbuf,
- lsa_io_q_lookup_priv_value,
- lsa_io_r_lookup_priv_value,
- NT_STATUS_UNSUCCESSFUL);
-
- result = r.status;
-
- if (!NT_STATUS_IS_OK(result)) {
- goto done;
- }
-
- /* Return output parameters */
-
- (*luid).low=r.luid.low;
- (*luid).high=r.luid.high;
-
- done:
-
- return result;
-}
-
/* Enumerate account rights This is similar to enum_privileges but
takes a SID directly, avoiding the open_account call.
*/