s4:ldb:python/api: use only one ldb file in test_contains()
[Samba/gebeck_regimport.git] / source3 / rpc_client / cli_samr.h
blobda0be1836c6441531c872b29933d8c62123997f1
1 /* The following definitions come from rpc_client/cli_samr.c */
3 NTSTATUS rpccli_samr_chgpasswd_user(struct rpc_pipe_client *cli,
4 TALLOC_CTX *mem_ctx,
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,
9 TALLOC_CTX *mem_ctx,
10 const char *username,
11 const char *newpassword,
12 const char *oldpassword);
13 NTSTATUS rpccli_samr_chng_pswd_auth_crap(struct rpc_pipe_client *cli,
14 TALLOC_CTX *mem_ctx,
15 const char *username,
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,
21 TALLOC_CTX *mem_ctx,
22 const char *username,
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,
28 uint32 *max_size);
29 NTSTATUS rpccli_try_samr_connects(struct rpc_pipe_client *cli,
30 TALLOC_CTX *mem_ctx,
31 uint32_t access_mask,
32 struct policy_handle *connect_pol);