From a3f262182a65de04a41a336c7c08854723879065 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 8 Aug 2011 10:47:12 +0200 Subject: s4:py/samba/drs_utils: pass down req/req_level to self.net.replicate_chunk() metze Signed-off-by: Andrew Tridgell --- source4/scripting/python/samba/drs_utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit