From: Andreas Schneider Date: Wed, 10 Jun 2020 10:51:18 +0000 (+0200) Subject: s3:rpcclient: Remove obsolete force encryption from rpcclient X-Git-Tag: talloc-2.3.2~776 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29504508041c018a8601979085d04e7ed290a286;p=thirdparty%2Fsamba.git s3:rpcclient: Remove obsolete force encryption from rpcclient Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher --- diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 2ead6cc7ba5..575a42ebf70 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -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