mirror of
https://github.com/samba-team/samba.git
synced 2025-03-30 06:50:24 +03:00
s3:lib: Set smb encryption also via cli creds API
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
be9e60efad
commit
34a81eca0d
@ -377,6 +377,9 @@ void set_cmdline_auth_info_use_krb5_ticket(struct user_auth_info *auth_info)
|
||||
/* This should only be used by lib/popt_common.c JRA */
|
||||
void set_cmdline_auth_info_smb_encrypt(struct user_auth_info *auth_info)
|
||||
{
|
||||
cli_credentials_set_smb_encryption(auth_info->creds,
|
||||
SMB_ENCRYPTION_REQUIRED,
|
||||
CRED_SPECIFIED);
|
||||
auth_info->smb_encrypt = true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user