s3:rpcclient: Remove obsolete force encryption from rpcclient
authorAndreas Schneider <asn@samba.org>
Wed, 10 Jun 2020 10:51:18 +0000 (12:51 +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/rpcclient/rpcclient.c

index 2ead6cc7ba52118c0a7e6d974915473010f36400..575a42ebf70a75037cdeb5cce7ee74c7fb98effd 100644 (file)
@@ -1214,17 +1214,6 @@ out_free:
                goto done;
        }
 
-       if (get_cmdline_auth_info_smb_encrypt(popt_get_cmdline_auth_info())) {
-               nt_status = cli_cm_force_encryption_creds(cli,
-                                       get_cmdline_auth_info_creds(
-                                               popt_get_cmdline_auth_info()),
-                                       "IPC$");
-               if (!NT_STATUS_IS_OK(nt_status)) {
-                       result = 1;
-                       goto done;
-               }
-       }
-
 #if 0  /* COMMENT OUT FOR TESTING */
        memset(cmdline_auth_info.password,'X',sizeof(cmdline_auth_info.password));
 #endif