diff options
author | Günther Deschner <gd@samba.org> | 2010-05-18 18:25:50 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-05-18 21:42:32 +0200 |
commit | 3f2719c20296d55766bf6d9f43dea50ab259e0e6 (patch) | |
tree | 87faeaa69e49f892b934ec3457acca6313ac942e /source3/rpc_client/cli_samr.h | |
parent | 7a8e34fe868158ee5591e1640477d28c62de5b67 (diff) | |
download | samba-3f2719c20296d55766bf6d9f43dea50ab259e0e6.tar.gz |
s3-rpc_client: move protos to cli_samr.h
Guenther
Diffstat (limited to 'source3/rpc_client/cli_samr.h')
-rw-r--r-- | source3/rpc_client/cli_samr.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_samr.h b/source3/rpc_client/cli_samr.h new file mode 100644 index 00000000000..da0be1836c6 --- /dev/null +++ b/source3/rpc_client/cli_samr.h @@ -0,0 +1,33 @@ +/* The following definitions come from rpc_client/cli_samr.c */ + +NTSTATUS rpccli_samr_chgpasswd_user(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + struct policy_handle *user_handle, + const char *newpassword, + const char *oldpassword); +NTSTATUS rpccli_samr_chgpasswd_user2(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *username, + const char *newpassword, + const char *oldpassword); +NTSTATUS rpccli_samr_chng_pswd_auth_crap(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *username, + DATA_BLOB new_nt_password_blob, + DATA_BLOB old_nt_hash_enc_blob, + DATA_BLOB new_lm_password_blob, + DATA_BLOB old_lm_hash_enc_blob); +NTSTATUS rpccli_samr_chgpasswd_user3(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *username, + const char *newpassword, + const char *oldpassword, + struct samr_DomInfo1 **dominfo1, + struct userPwdChangeFailureInformation **reject); +void get_query_dispinfo_params(int loop_count, uint32 *max_entries, + uint32 *max_size); +NTSTATUS rpccli_try_samr_connects(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + uint32_t access_mask, + struct policy_handle *connect_pol); + |