From 136ee756fe3a41f863c2d1d538ad029bfe54e1d1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 18 Sep 2024 04:31:04 +0200 Subject: [PATCH] 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 --- source4/torture/rpc/samba3rpc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c index 10f0fccde73..c6c1944cf8d 100644 --- a/source4/torture/rpc/samba3rpc.c +++ b/source4/torture/rpc/samba3rpc.c @@ -1151,7 +1151,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);