summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-07-21 16:04:07 +0200
committerStefan Metzmacher <metze@samba.org>2009-07-21 19:11:21 +0200
commit143625661300e7ee52e969bc3790e50a0016b88b (patch)
tree1ef73a7a74c2f4b44bae877d260f9fc5ee2b0048 /source4/torture/rpc
parent8b6ec5b82cbc66cf8efd9d0713e36aac63c8c49e (diff)
downloadsamba-143625661300e7ee52e969bc3790e50a0016b88b.tar.gz
samba-143625661300e7ee52e969bc3790e50a0016b88b.tar.bz2
samba-143625661300e7ee52e969bc3790e50a0016b88b.zip
frsapi.idl: fix some unknown field names
metze
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/frsapi.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/source4/torture/rpc/frsapi.c b/source4/torture/rpc/frsapi.c
index c8e421a674..e9a19bcf96 100644
--- a/source4/torture/rpc/frsapi.c
+++ b/source4/torture/rpc/frsapi.c
@@ -114,15 +114,15 @@ static bool test_IsPathReplicated_err(struct torture_context *tctx,
{
struct frsapi_IsPathReplicated r;
struct GUID guid;
- uint32_t unknown1, unknown2, unknown3 = 0;
+ uint32_t replicated, primary, root;
ZERO_STRUCT(r);
r.in.path = path;
r.in.replica_set_type = type;
- r.out.unknown1 = &unknown1;
- r.out.unknown2 = &unknown2;
- r.out.unknown3 = &unknown3;
+ r.out.replicated = &replicated;
+ r.out.primary = &primary;
+ r.out.root = &root;
r.out.replica_set_guid = &guid;
torture_assert_ntstatus_ok(tctx,
@@ -191,11 +191,11 @@ static bool test_ForceReplication(struct torture_context *tctx,
ZERO_STRUCT(r);
- r.in.guid1 = NULL;
- r.in.guid2 = NULL;
- r.in.replica_set = talloc_asprintf(tctx, "%s",
- lp_realm(tctx->lp_ctx));
- r.in.partner_name = dcerpc_server_name(p);
+ r.in.replica_set_guid = NULL;
+ r.in.connection_guid = NULL;
+ r.in.replica_set_name = talloc_asprintf(tctx, "%s",
+ lp_realm(tctx->lp_ctx));
+ r.in.partner_dns_name = dcerpc_server_name(p);
torture_assert_ntstatus_ok(tctx,
dcerpc_frsapi_ForceReplication(p, tctx, &r),