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,
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,
13 uint32 logon_parameters,
17 const char *workstation,
18 uint16_t validation_level,
20 NTSTATUS rpccli_netlogon_sam_network_logon(struct rpc_pipe_client *cli,
22 uint32 logon_parameters,
26 const char *workstation,
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,
34 uint32 logon_parameters,
38 const char *workstation,
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,
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);