mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
f60398d7b2
The benefit of this that it makes us more robust to secure channel resets triggered from tools outside the winbind process. Long term we need to have a shared tdb secure channel store though as well. Guenther Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Feb 4 18:11:04 CET 2011 on sn-devel-104
52 lines
1.9 KiB
C
52 lines
1.9 KiB
C
/* The following definitions come from rpc_client/cli_netlogon.c */
|
|
|
|
NTSTATUS rpccli_netlogon_setup_creds(struct rpc_pipe_client *cli,
|
|
const char *server_name,
|
|
const char *domain,
|
|
const char *clnt_name,
|
|
const char *machine_account,
|
|
const unsigned char machine_pwd[16],
|
|
enum netr_SchannelType sec_chan_type,
|
|
uint32_t *neg_flags_inout);
|
|
NTSTATUS rpccli_netlogon_sam_logon(struct rpc_pipe_client *cli,
|
|
TALLOC_CTX *mem_ctx,
|
|
uint32 logon_parameters,
|
|
const char *domain,
|
|
const char *username,
|
|
const char *password,
|
|
const char *workstation,
|
|
uint16_t validation_level,
|
|
int logon_type);
|
|
NTSTATUS rpccli_netlogon_sam_network_logon(struct rpc_pipe_client *cli,
|
|
TALLOC_CTX *mem_ctx,
|
|
uint32 logon_parameters,
|
|
const char *server,
|
|
const char *username,
|
|
const char *domain,
|
|
const char *workstation,
|
|
const uint8 chal[8],
|
|
uint16_t validation_level,
|
|
DATA_BLOB lm_response,
|
|
DATA_BLOB nt_response,
|
|
struct netr_SamInfo3 **info3);
|
|
NTSTATUS rpccli_netlogon_sam_network_logon_ex(struct rpc_pipe_client *cli,
|
|
TALLOC_CTX *mem_ctx,
|
|
uint32 logon_parameters,
|
|
const char *server,
|
|
const char *username,
|
|
const char *domain,
|
|
const char *workstation,
|
|
const uint8 chal[8],
|
|
uint16_t validation_level,
|
|
DATA_BLOB lm_response,
|
|
DATA_BLOB nt_response,
|
|
struct netr_SamInfo3 **info3);
|
|
NTSTATUS rpccli_netlogon_set_trust_password(struct rpc_pipe_client *cli,
|
|
TALLOC_CTX *mem_ctx,
|
|
const char *account_name,
|
|
const unsigned char orig_trust_passwd_hash[16],
|
|
const char *new_trust_pwd_cleartext,
|
|
const unsigned char new_trust_passwd_hash[16],
|
|
enum netr_SchannelType sec_channel_type);
|
|
|