1 /* The following definitions come from rpc_client/cli_samr.c */
3 NTSTATUS rpccli_samr_chgpasswd_user(struct rpc_pipe_client *cli,
5 struct policy_handle *user_handle,
6 const char *newpassword,
7 const char *oldpassword);
8 NTSTATUS rpccli_samr_chgpasswd_user2(struct rpc_pipe_client *cli,
11 const char *newpassword,
12 const char *oldpassword);
13 NTSTATUS rpccli_samr_chng_pswd_auth_crap(struct rpc_pipe_client *cli,
16 DATA_BLOB new_nt_password_blob,
17 DATA_BLOB old_nt_hash_enc_blob,
18 DATA_BLOB new_lm_password_blob,
19 DATA_BLOB old_lm_hash_enc_blob);
20 NTSTATUS rpccli_samr_chgpasswd_user3(struct rpc_pipe_client *cli,
23 const char *newpassword,
24 const char *oldpassword,
25 struct samr_DomInfo1 **dominfo1,
26 struct userPwdChangeFailureInformation **reject);
27 void get_query_dispinfo_params(int loop_count, uint32 *max_entries,
29 NTSTATUS rpccli_try_samr_connects(struct rpc_pipe_client *cli,
32 struct policy_handle *connect_pol);