From: Andreas Schneider Date: Mon, 6 Jul 2020 08:58:36 +0000 (+0200) Subject: examples: Remove obsolete force encryption from smb2mount X-Git-Tag: talloc-2.3.2~775 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7c3d86f017068d72c9fab3406453fdee4f516ec;p=thirdparty%2Fsamba.git examples: Remove obsolete force encryption from smb2mount Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher --- diff --git a/examples/fuse/smb2mount.c b/examples/fuse/smb2mount.c index 6206c3a9701..c64be573462 100644 --- a/examples/fuse/smb2mount.c +++ b/examples/fuse/smb2mount.c @@ -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; }