From: Stefan Metzmacher Date: Wed, 18 Sep 2024 02:31:04 +0000 (+0200) Subject: s4:torture/rpc: remove useless usage of DCERPC_SIGN, DCERPC_SEAL X-Git-Tag: samba-4.21.7~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5047e9863b9b50028c77e0c950a86d33d9af2ba4;p=thirdparty%2Fsamba.git s4:torture/rpc: remove useless usage of DCERPC_SIGN, DCERPC_SEAL We already used DCERPC_AUTH_LEVEL_PRIVACY for the connection. Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme (cherry picked from commit 136ee756fe3a41f863c2d1d538ad029bfe54e1d1) --- diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c index 0ce948895bc..0e96a308881 100644 --- a/source4/torture/rpc/samba3rpc.c +++ b/source4/torture/rpc/samba3rpc.c @@ -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);