examples: Remove obsolete force encryption from smb2mount
authorAndreas Schneider <asn@samba.org>
Mon, 6 Jul 2020 08:58:36 +0000 (10:58 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 19 Aug 2020 16:22:43 +0000 (16:22 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
examples/fuse/smb2mount.c

index 6206c3a9701dc616679b4349b3c851b4f7ff4da7..c64be57346291718a8a797740045ed682bca915a 100644 (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;
 }