s3:build: reformat AC_ARG_ENABLE(external_libtalloc...)
[Samba/gbeck.git] / source3 / rpc_client / cli_netlogon.h
blob808a4283ce74a9f39b534ccc9f52db8ed2f713c3
1 /* The following definitions come from rpc_client/cli_netlogon.c */
3 NTSTATUS rpccli_netlogon_setup_creds(struct rpc_pipe_client *cli,
4 const char *server_name,
5 const char *domain,
6 const char *clnt_name,
7 const char *machine_account,
8 const unsigned char machine_pwd[16],
9 enum netr_SchannelType sec_chan_type,
10 uint32_t *neg_flags_inout);
11 NTSTATUS rpccli_netlogon_sam_logon(struct rpc_pipe_client *cli,
12 TALLOC_CTX *mem_ctx,
13 uint32 logon_parameters,
14 const char *domain,
15 const char *username,
16 const char *password,
17 const char *workstation,
18 uint16_t validation_level,
19 int logon_type);
20 NTSTATUS rpccli_netlogon_sam_network_logon(struct rpc_pipe_client *cli,
21 TALLOC_CTX *mem_ctx,
22 uint32 logon_parameters,
23 const char *server,
24 const char *username,
25 const char *domain,
26 const char *workstation,
27 const uint8 chal[8],
28 uint16_t validation_level,
29 DATA_BLOB lm_response,
30 DATA_BLOB nt_response,
31 struct netr_SamInfo3 **info3);
32 NTSTATUS rpccli_netlogon_sam_network_logon_ex(struct rpc_pipe_client *cli,
33 TALLOC_CTX *mem_ctx,
34 uint32 logon_parameters,
35 const char *server,
36 const char *username,
37 const char *domain,
38 const char *workstation,
39 const uint8 chal[8],
40 uint16_t validation_level,
41 DATA_BLOB lm_response,
42 DATA_BLOB nt_response,
43 struct netr_SamInfo3 **info3);
44 NTSTATUS rpccli_netlogon_set_trust_password(struct rpc_pipe_client *cli,
45 TALLOC_CTX *mem_ctx,
46 const char *account_name,
47 const unsigned char orig_trust_passwd_hash[16],
48 const char *new_trust_pwd_cleartext,
49 const unsigned char new_trust_passwd_hash[16],
50 enum netr_SchannelType sec_channel_type);