]> 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)
committerRalph Boehme <slow@samba.org>
Thu, 26 Sep 2024 15:22:45 +0000 (15:22 +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>
source4/torture/rpc/samba3rpc.c

index 10f0fccde73f401c0e42580a4912bab34bacfa21..c6c1944cf8df9dc9005813965c19f153f0255203 100644 (file)
@@ -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);