summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_lsarpc.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-09-07 12:19:25 +0200
committerGünther Deschner <gd@samba.org>2011-01-10 18:20:55 +0100
commit8f14229b28321e82f6f444d48f514c54cbc24f9b (patch)
tree74c18fd384d2ae71d529552157b6d38bd427a25b /source3/rpc_client/cli_lsarpc.h
parent2f819505afe2a5f1bd244a625861f7b07c78ae8f (diff)
downloadsamba-8f14229b28321e82f6f444d48f514c54cbc24f9b.tar.gz
samba-8f14229b28321e82f6f444d48f514c54cbc24f9b.tar.bz2
samba-8f14229b28321e82f6f444d48f514c54cbc24f9b.zip
s3-rpc_client: Added dcerpc_lsa_open_policy2.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/rpc_client/cli_lsarpc.h')
-rw-r--r--source3/rpc_client/cli_lsarpc.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_lsarpc.h b/source3/rpc_client/cli_lsarpc.h
index c1666a71ce..bdcbb69a78 100644
--- a/source3/rpc_client/cli_lsarpc.h
+++ b/source3/rpc_client/cli_lsarpc.h
@@ -28,9 +28,34 @@ NTSTATUS rpccli_lsa_open_policy(struct rpc_pipe_client *cli,
bool sec_qos, uint32 des_access,
struct policy_handle *pol);
+/**
+ * @brief Open a LSA policy.
+ *
+ * @param[in] h The dcerpc binding hanlde to use.
+ *
+ * @param[in] mem_ctx The memory context to use.
+ *
+ * @param[in] sec_qos Enable security quality of services.
+ *
+ * @param[in] des_access The disired access rights to be granted.
+ *
+ * @param[out] pol A pointer to a rpc policy handle.
+ *
+ * @param[out] result A pointer for the NDR NTSTATUS error code.
+ *
+ * @return A corresponding NTSTATUS error code for the connection.
+ */
+NTSTATUS dcerpc_lsa_open_policy2(struct dcerpc_binding_handle *h,
+ TALLOC_CTX *mem_ctx,
+ const char *srv_name_slash,
+ bool sec_qos,
+ uint32_t des_access,
+ struct policy_handle *pol,
+ NTSTATUS *result);
NTSTATUS rpccli_lsa_open_policy2(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx, bool sec_qos,
uint32 des_access, struct policy_handle *pol);
+
NTSTATUS rpccli_lsa_lookup_sids(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *pol,