1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

examples: Remove obsolete force encryption from smb2mount

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Andreas Schneider 2020-07-06 10:58:36 +02:00 committed by Andreas Schneider
parent 2950450804
commit d7c3d86f01

View File

@ -44,17 +44,6 @@ static struct cli_state *connect_one(const struct user_auth_info *auth_info,
return NULL;
}
if (get_cmdline_auth_info_smb_encrypt(auth_info)) {
nt_status = cli_cm_force_encryption_creds(
c,
get_cmdline_auth_info_creds(auth_info),
share);
if (!NT_STATUS_IS_OK(nt_status)) {
cli_shutdown(c);
c = NULL;
}
}
return c;
}