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

index 2ac4fde7daf3153eb4effec9533879ff9c306dc6..ef2657e4fa56811ae52ab4282920547d60c3a117 100644 (file)
@@ -159,13 +159,6 @@ int main(int argc, char **argv)
                goto fail;
        }
 
-       if (get_cmdline_auth_info_smb_encrypt(auth)) {
-               status = cli_cm_force_encryption_creds(cli, creds, "IPC$");
-               if (!NT_STATUS_IS_OK(status)) {
-                       goto fail;
-               }
-       }
-
        status = cli_rpc_pipe_open_noauth_transport(cli,
                                                    NCACN_NP,
                                                    &ndr_table_mdssvc,