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
,
19 NTSTATUS
rpccli_netlogon_sam_network_logon(struct rpc_pipe_client
*cli
,
21 uint32 logon_parameters
,
25 const char *workstation
,
27 DATA_BLOB lm_response
,
28 DATA_BLOB nt_response
,
29 struct netr_SamInfo3
**info3
);
30 NTSTATUS
rpccli_netlogon_sam_network_logon_ex(struct rpc_pipe_client
*cli
,
32 uint32 logon_parameters
,
36 const char *workstation
,
38 DATA_BLOB lm_response
,
39 DATA_BLOB nt_response
,
40 struct netr_SamInfo3
**info3
);
41 NTSTATUS
rpccli_netlogon_set_trust_password(struct rpc_pipe_client
*cli
,
43 const char *account_name
,
44 const unsigned char orig_trust_passwd_hash
[16],
45 const char *new_trust_pwd_cleartext
,
46 const unsigned char new_trust_passwd_hash
[16],
47 enum netr_SchannelType sec_channel_type
);