s4:py/samba/drs_utils: pass down req/req_level to self.net.replicate_chunk()
authorStefan Metzmacher <metze@samba.org>
Mon, 8 Aug 2011 08:47:12 +0000 (10:47 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 12 Aug 2011 10:39:05 +0000 (12:39 +0200)
metze

Signed-off-by: Andrew Tridgell <tridge@samba.org>
source4/scripting/python/samba/drs_utils.py

index 77f415ed17a458f42e85f5b77365db38db0b590b..80128ca192f686043cd7883a9ac55b2cdcd75dd6 100644 (file)
@@ -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