diff options
author | Kamen Mazdrashki <kamen.mazdrashki@postpath.com> | 2010-02-13 04:57:28 +0200 |
---|---|---|
committer | Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | 2010-02-24 14:14:07 +0200 |
commit | 99db858b155a9a12bcbaae631d34d12062206e12 (patch) | |
tree | 03e24dc380316a10f0254ab249b347c8d9d072af /source4/torture | |
parent | 8747e695fe4ff732537f6fc822f4c24f3cfd9d39 (diff) | |
download | samba-99db858b155a9a12bcbaae631d34d12062206e12.tar.gz samba-99db858b155a9a12bcbaae631d34d12062206e12.tar.bz2 samba-99db858b155a9a12bcbaae631d34d12062206e12.zip |
s4/drs: Propagate drsuapi_DsReplicaSync changes in source base
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/drsuapi.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source4/torture/rpc/drsuapi.c b/source4/torture/rpc/drsuapi.c index c8c8967199..24083bbe45 100644 --- a/source4/torture/rpc/drsuapi.c +++ b/source4/torture/rpc/drsuapi.c @@ -397,6 +397,7 @@ static bool test_DsReplicaSync(struct torture_context *tctx, struct dcerpc_pipe *p = priv->drs_pipe; int i; struct drsuapi_DsReplicaSync r; + union drsuapi_DsReplicaSyncRequest sync_req; struct drsuapi_DsReplicaObjectIdentifier nc; struct GUID null_guid; struct dom_sid null_sid; @@ -434,10 +435,12 @@ static bool test_DsReplicaSync(struct torture_context *tctx, nc.sid = null_sid; nc.dn = priv->domain_obj_dn?priv->domain_obj_dn:""; - r.in.req.req1.naming_context = &nc; - r.in.req.req1.source_dsa_guid = priv->dcinfo.ntds_guid; - r.in.req.req1.source_dsa_dns = NULL; - r.in.req.req1.options = 16; + sync_req.req1.naming_context = &nc; + sync_req.req1.source_dsa_guid = priv->dcinfo.ntds_guid; + sync_req.req1.source_dsa_dns = NULL; + sync_req.req1.options = 16; + + r.in.req = &sync_req; break; } |