]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:torture/rpc: remove useless usage of DCERPC_SIGN, DCERPC_SEAL
authorStefan Metzmacher <metze@samba.org>
Wed, 18 Sep 2024 02:31:04 +0000 (04:31 +0200)
committerJule Anger <janger@samba.org>
Thu, 12 Jun 2025 11:27:14 +0000 (11:27 +0000)
We already used DCERPC_AUTH_LEVEL_PRIVACY for the connection.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 136ee756fe3a41f863c2d1d538ad029bfe54e1d1)

source4/torture/rpc/samba3rpc.c

index 0ce948895bc7a127d05c4e9dad9322592505a17a..0e96a30888100415d4018607005c7e00bd35cf99 100644 (file)
@@ -1153,7 +1153,6 @@ static bool schan(struct torture_context *tctx,
                                    "\\netlogon", &ndr_table_netlogon, &net_pipe);
        torture_assert_ntstatus_ok_goto(tctx, status, ret, done,
                                        "pipe_bind_smb_auth failed");
-       net_pipe->conn->flags |= (DCERPC_SIGN | DCERPC_SEAL);
 #else
        status = pipe_bind_smb(tctx, mem_ctx, cli->tree,
                               "\\netlogon", &ndr_table_netlogon, &net_pipe);