summaryrefslogtreecommitdiff
path: root/source4/torture/drs
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-11-26 02:38:39 +0200
committerKamen Mazdrashki <kamenim@samba.org>2010-12-01 13:01:16 +0200
commit4041791d01b10b250dab5b356f0477fb8a40907e (patch)
tree23352a1fd93e391d72ac3bb5ead4acd0861552dc /source4/torture/drs
parent4cd16dde148662700311501e62ba3ee9bf80765a (diff)
downloadsamba-4041791d01b10b250dab5b356f0477fb8a40907e.tar.gz
samba-4041791d01b10b250dab5b356f0477fb8a40907e.tar.bz2
samba-4041791d01b10b250dab5b356f0477fb8a40907e.zip
s4-repl: Let dsdb_replicated_objects_convert() to accept schema from caller
This allows us to use schema that is different than the one set to 'ldb' to decode objects.
Diffstat (limited to 'source4/torture/drs')
-rw-r--r--source4/torture/drs/rpc/dssync.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/drs/rpc/dssync.c b/source4/torture/drs/rpc/dssync.c
index 9c65b91719..cd9a733492 100644
--- a/source4/torture/drs/rpc/dssync.c
+++ b/source4/torture/drs/rpc/dssync.c
@@ -341,6 +341,7 @@ static bool test_analyse_objects(struct torture_context *tctx,
ldap_schema = dsdb_get_schema(ldb, NULL);
status = dsdb_replicated_objects_convert(ldb,
+ ldap_schema,
partition,
mapping_ctr,
object_count,