]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:utils: Remove obsolete force encryption from smbacls
authorAndreas Schneider <asn@samba.org>
Wed, 10 Jun 2020 10:47:05 +0000 (12:47 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 19 Aug 2020 16:22:42 +0000 (16:22 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/utils/smbcacls.c

index 5983ebbd0a5bb8a4f96a5906a81fa1e6dcbe4187..8fd9fcc5780bba35b4ec3fb05c128aa1139b0204 100644 (file)
@@ -784,16 +784,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;
 }