diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-01-14 14:38:18 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-01-14 15:37:59 +1100 |
commit | 74a571961464e104e6678ec249718138d7a6196c (patch) | |
tree | 5384b72accbf5d9bcc8df16f958bde09f6b19262 /source4/torture/rpc | |
parent | 2008d24e91ce38ac928a71d0dc5147ecca0f2b24 (diff) | |
download | samba-74a571961464e104e6678ec249718138d7a6196c.tar.gz samba-74a571961464e104e6678ec249718138d7a6196c.tar.bz2 samba-74a571961464e104e6678ec249718138d7a6196c.zip |
s4-torture: switch smbtorture to the generic DRS options
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/drsuapi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/rpc/drsuapi.c b/source4/torture/rpc/drsuapi.c index 42c88a5eb1..20263fe8ea 100644 --- a/source4/torture/rpc/drsuapi.c +++ b/source4/torture/rpc/drsuapi.c @@ -482,7 +482,7 @@ static bool test_DsReplicaUpdateRefs(struct torture_context *tctx, /* 1. deleting replica dest should fail */ torture_comment(tctx, "delete: %s\n", r.in.req.req1.dest_dsa_dns_name); - r.in.req.req1.options = DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE; + r.in.req.req1.options = DRSUAPI_DRS_DEL_REF; status = dcerpc_drsuapi_DsReplicaUpdateRefs(p, tctx, &r); torture_drsuapi_assert_call_werr(tctx, p, status, WERR_DS_DRA_REF_NOT_FOUND, &r, @@ -490,7 +490,7 @@ static bool test_DsReplicaUpdateRefs(struct torture_context *tctx, /* 2. hopefully adding random replica dest should succeed */ torture_comment(tctx, "add : %s\n", r.in.req.req1.dest_dsa_dns_name); - r.in.req.req1.options = DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE; + r.in.req.req1.options = DRSUAPI_DRS_ADD_REF; status = dcerpc_drsuapi_DsReplicaUpdateRefs(p, tctx, &r); torture_drsuapi_assert_call_werr(tctx, p, status, WERR_OK, &r, @@ -498,7 +498,7 @@ static bool test_DsReplicaUpdateRefs(struct torture_context *tctx, /* 3. try adding same replica dest - should fail */ torture_comment(tctx, "add : %s\n", r.in.req.req1.dest_dsa_dns_name); - r.in.req.req1.options = DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE; + r.in.req.req1.options = DRSUAPI_DRS_ADD_REF; status = dcerpc_drsuapi_DsReplicaUpdateRefs(p, tctx, &r); torture_drsuapi_assert_call_werr(tctx, p, status, WERR_DS_DRA_REF_ALREADY_EXISTS, &r, @@ -506,7 +506,7 @@ static bool test_DsReplicaUpdateRefs(struct torture_context *tctx, /* 4. delete random replicate added at step 2. */ torture_comment(tctx, "delete: %s\n", r.in.req.req1.dest_dsa_dns_name); - r.in.req.req1.options = DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE; + r.in.req.req1.options = DRSUAPI_DRS_DEL_REF; status = dcerpc_drsuapi_DsReplicaUpdateRefs(p, tctx, &r); torture_drsuapi_assert_call_werr(tctx, p, status, WERR_OK, &r, |