diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-03-11 12:00:34 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-03-17 09:53:13 +0100 |
commit | 50cc29b3cb234f71f7fbbef47fe36bf9d85a313b (patch) | |
tree | 6a65787127ede8363f2503cb8431d4b4d60221ac /source4/torture/rpc/alter_context.c | |
parent | ba3b9fa36b0ffcb2cfcee34dab6d9a544a8cd9fd (diff) | |
download | samba-50cc29b3cb234f71f7fbbef47fe36bf9d85a313b.tar.gz samba-50cc29b3cb234f71f7fbbef47fe36bf9d85a313b.tar.bz2 samba-50cc29b3cb234f71f7fbbef47fe36bf9d85a313b.zip |
s4:torture/rpc/lsa*: make use of dcerpc_binding_handle stubs
metze
Diffstat (limited to 'source4/torture/rpc/alter_context.c')
-rw-r--r-- | source4/torture/rpc/alter_context.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/rpc/alter_context.c b/source4/torture/rpc/alter_context.c index cfd56f78e5..08d938ebbb 100644 --- a/source4/torture/rpc/alter_context.c +++ b/source4/torture/rpc/alter_context.c @@ -38,7 +38,7 @@ bool torture_rpc_alter_context(struct torture_context *torture) status = torture_rpc_connection(torture, &p, &ndr_table_lsarpc); torture_assert_ntstatus_ok(torture, status, "connecting"); - if (!test_lsa_OpenPolicy2(p, torture, &handle)) { + if (!test_lsa_OpenPolicy2(p->binding_handle, torture, &handle)) { ret = false; } @@ -57,7 +57,7 @@ bool torture_rpc_alter_context(struct torture_context *torture) ret &= test_DsRoleGetPrimaryDomainInformation(torture, p2); if (handle) { - ret &= test_lsa_Close(p, torture, handle); + ret &= test_lsa_Close(p->binding_handle, torture, handle); } syntax = p->syntax; @@ -70,10 +70,10 @@ bool torture_rpc_alter_context(struct torture_context *torture) torture_comment(torture, "testing DSSETUP pipe operations - should fault\n"); ret &= test_DsRoleGetPrimaryDomainInformation_ext(torture, p, NT_STATUS_NET_WRITE_FAULT); - ret &= test_lsa_OpenPolicy2(p, torture, &handle); + ret &= test_lsa_OpenPolicy2(p->binding_handle, torture, &handle); if (handle) { - ret &= test_lsa_Close(p, torture, handle); + ret &= test_lsa_Close(p->binding_handle, torture, handle); } torture_comment(torture, "testing DSSETUP pipe operations\n"); |