cli_credentials_get_password_obtained(c->creds);
enum credentials_obtained username_obtained =
CRED_UNINITIALISED;
- enum smb_encryption_setting encrypt_state =
- cli_credentials_get_smb_encryption(c->creds);
uint32_t gensec_features;
if (principal_obtained == CRED_SPECIFIED) {
c->opt_workgroup = cli_credentials_get_domain(c->creds);
- c->smb_encrypt = (encrypt_state == SMB_ENCRYPTION_REQUIRED);
-
gensec_features = cli_credentials_get_gensec_features(c->creds);
if (c->legacy_opt_ccache) {
gensec_features |= GENSEC_FEATURE_NTLM_CCACHE;
int opt_have_ip;
struct sockaddr_storage opt_dest_ip;
- bool smb_encrypt;
struct libnetapi_ctx *netapi_ctx;
struct messaging_context *msg_ctx;
struct netlogon_creds_cli_context *netlogon_creds;