]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:utils: Remove obsolete force encryption from smbcquotas
authorAndreas Schneider <asn@samba.org>
Wed, 10 Jun 2020 10:49:28 +0000 (12:49 +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>
source3/utils/smbcquotas.c

index fea066ce468db941e1cd014b935d838cffb8f3ba..4ceac7b3ab007c26a1261b20ec3c1599fc760b47 100644 (file)
@@ -533,17 +533,6 @@ static struct cli_state *connect_one(const char *share)
                return NULL;
        }
 
-       if (get_cmdline_auth_info_smb_encrypt(popt_get_cmdline_auth_info())) {
-               nt_status = cli_cm_force_encryption_creds(c,
-                                       get_cmdline_auth_info_creds(
-                                               popt_get_cmdline_auth_info()),
-                                       share);
-               if (!NT_STATUS_IS_OK(nt_status)) {
-                       cli_shutdown(c);
-                       return NULL;
-               }
-       }
-
        return c;
 }