*/
#include "includes.h"
-#include "torture/torture.h"
#include "librpc/gen_ndr/ndr_samr_c.h"
#include "librpc/gen_ndr/ndr_lsa_c.h"
#include "librpc/gen_ndr/ndr_drsuapi_c.h"
status = torture_rpc_connection(torture, &p1, &ndr_table_lsarpc);
torture_assert_ntstatus_ok(torture, status, "opening lsa pipe1");
- transport = p1->conn->transport.transport,
+ transport = p1->conn->transport.transport;
assoc_group_id = p1->assoc_group_id;
torture_comment(torture, "use assoc_group_id[0x%08X] for new connections\n", assoc_group_id);
assoc_group_id);
torture_assert_ntstatus_ok(torture, status, "opening lsa pipe2");
+ torture_comment(torture, "got assoc_group_id[0x%08X] for p2\n",
+ p2->assoc_group_id);
+
qos.len = 0;
qos.impersonation_level = 2;
qos.context_mode = 1;
status = torture_rpc_connection(torture, &p1, &ndr_table_samr);
torture_assert_ntstatus_ok(torture, status, "opening samr pipe1");
- transport = p1->conn->transport.transport,
+ transport = p1->conn->transport.transport;
assoc_group_id = p1->assoc_group_id;
torture_comment(torture, "use assoc_group_id[0x%08X] for new connections\n", assoc_group_id);
assoc_group_id);
torture_assert_ntstatus_ok(torture, status, "opening lsa pipe2");
+ torture_comment(torture, "got assoc_group_id[0x%08X] for p2\n",
+ p2->assoc_group_id);
r.in.system_name = 0;
r.in.access_mask = SEC_FLAG_MAXIMUM_ALLOWED;
r.out.connect_handle = &handle;
status = torture_rpc_connection(torture, &p1, &ndr_table_samr);
torture_assert_ntstatus_ok(torture, status, "opening samr pipe1");
- transport = p1->conn->transport.transport,
+ transport = p1->conn->transport.transport;
assoc_group_id = p1->assoc_group_id;
torture_comment(torture, "pip1 use assoc_group_id[0x%08X]\n", assoc_group_id);
return true;
}
-
struct torture_suite *torture_rpc_handles(TALLOC_CTX *mem_ctx)
{
struct torture_suite *suite;