summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-08 10:47:12 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-12 12:39:05 +0200
commita3f262182a65de04a41a336c7c08854723879065 (patch)
treefb3d19006a847a19f0c87bb0ec233bedfb45fbae
parentdaf56768c6487dc94e6a337297d065a378fe237a (diff)
downloadsamba-a3f262182a65de04a41a336c7c08854723879065.tar.gz
samba-a3f262182a65de04a41a336c7c08854723879065.tar.bz2
samba-a3f262182a65de04a41a336c7c08854723879065.zip
s4:py/samba/drs_utils: pass down req/req_level to self.net.replicate_chunk()
metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
-rw-r--r--source4/scripting/python/samba/drs_utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/drs_utils.py b/source4/scripting/python/samba/drs_utils.py
index 77f415ed17..80128ca192 100644
--- a/source4/scripting/python/samba/drs_utils.py
+++ b/source4/scripting/python/samba/drs_utils.py
@@ -167,7 +167,8 @@ class drs_Replicate:
(level, ctr) = self.drs.DsGetNCChanges(self.drs_handle, req_level, req)
if ctr.first_object == None and ctr.object_count != 0:
raise RuntimeError("DsGetNCChanges: NULL first_object with object_count=%u" % (ctr.object_count))
- self.net.replicate_chunk(self.replication_state, level, ctr, schema=schema)
+ self.net.replicate_chunk(self.replication_state, level, ctr,
+ schema=schema, req_level=req_level, req=req)
if ctr.more_data == 0:
break
req.highwatermark.tmp_highest_usn = ctr.new_highwatermark.tmp_highest_usn