s4:torture/rpc/alter_context.c: check for NT_STATUS_RPC_BAD_STUB_DATA instead of...
authorStefan Metzmacher <metze@samba.org>
Mon, 29 Mar 2010 20:45:05 +0000 (22:45 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 15 Apr 2010 07:34:04 +0000 (09:34 +0200)
metze

source4/torture/rpc/alter_context.c

index 640164316e626a539109282a34253acafb4c0e40..015e3a25fda79f6f40ac0d896701c8605e821ecd 100644 (file)
@@ -98,7 +98,7 @@ bool torture_rpc_alter_context(struct torture_context *torture)
        torture_assert_ntstatus_ok(torture, status, "dcerpc_alter_context failed");
 
        torture_comment(torture, "Testing DSSETUP pipe operations - should fault\n");
-       ret &= test_DsRoleGetPrimaryDomainInformation_ext(torture, p, NT_STATUS_NET_WRITE_FAULT);
+       ret &= test_DsRoleGetPrimaryDomainInformation_ext(torture, p, NT_STATUS_RPC_BAD_STUB_DATA);
 
        ret &= test_lsa_OpenPolicy2(p->binding_handle, torture, &handle);