diff options
author | Andreas Schneider <asn@samba.org> | 2011-01-12 15:14:35 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2011-01-21 14:34:18 +0100 |
commit | e6475f2151eb94b2e9010f9e0f4d3d8c2c315b81 (patch) | |
tree | 77bcee777f4de5234b4654cf2aeb5e79d134382a /source3/rpc_client/cli_samr.h | |
parent | 200772653ae295b4c5142d943faf7a2c878121a9 (diff) | |
download | samba-e6475f2151eb94b2e9010f9e0f4d3d8c2c315b81.tar.gz samba-e6475f2151eb94b2e9010f9e0f4d3d8c2c315b81.tar.xz samba-e6475f2151eb94b2e9010f9e0f4d3d8c2c315b81.zip |
s3-rpc_client: Added dcerpc_samr_chgpasswd_user3.
Diffstat (limited to 'source3/rpc_client/cli_samr.h')
-rw-r--r-- | source3/rpc_client/cli_samr.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_samr.h b/source3/rpc_client/cli_samr.h index 14a3cd64d22..70d0c8b7ff2 100644 --- a/source3/rpc_client/cli_samr.h +++ b/source3/rpc_client/cli_samr.h @@ -133,6 +133,40 @@ NTSTATUS rpccli_samr_chng_pswd_auth_crap(struct rpc_pipe_client *cli, DATA_BLOB old_nt_hash_enc_blob, DATA_BLOB new_lm_password_blob, DATA_BLOB old_lm_hash_enc_blob); + +/** + * @brief + * + * @param[in] h The dcerpc binding hanlde to use. + * + * @param[in] mem_ctx The memory context to use. + * + * @param[in] srv_name_slash The server name with leading slashes. + * + * @param[in] username The name of ther user. + * + * @param[in] newpassword The new password to set. + * + * @param[in] oldpassword The old password to set. + * + * @param[in] dominfo1 A pointer to hold the domain information. + * + * @param[in] reject A pointer to store the result of a possible reject. + * + * @param[out] presult A pointer for the NDR NTSTATUS error code. + * + * @return A corresponding NTSTATUS error code for the connection. + */ +NTSTATUS dcerpc_samr_chgpasswd_user3(struct dcerpc_binding_handle *h, + TALLOC_CTX *mem_ctx, + const char *srv_name_slash, + const char *username, + const char *newpassword, + const char *oldpassword, + struct samr_DomInfo1 **dominfo1, + struct userPwdChangeFailureInformation **reject, + NTSTATUS *presult); + NTSTATUS rpccli_samr_chgpasswd_user3(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *username, |