From: Andreas Schneider Date: Wed, 10 Jun 2020 10:47:05 +0000 (+0200) Subject: s3:utils: Remove obsolete force encryption from smbacls X-Git-Tag: talloc-2.3.2~779 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d0a3bbc83a06e262b4ae16ba0e09eccda17a01f;p=thirdparty%2Fsamba.git s3:utils: Remove obsolete force encryption from smbacls Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher --- diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c index 5983ebbd0a5..8fd9fcc5780 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -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; }