summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-12-18 14:46:23 +0100
committerStefan Metzmacher <metze@samba.org>2013-01-01 19:28:06 +0100
commit257ae5443631e645842cfcc9c1cedce6c41d5afa (patch)
treeb0fa756c9788d2871588ff8f59d918fc89702033 /source4/scripting
parente2e2d72b0f373793458c0fda3d2ce28e2f3aea29 (diff)
downloadsamba-257ae5443631e645842cfcc9c1cedce6c41d5afa.tar.gz
samba-257ae5443631e645842cfcc9c1cedce6c41d5afa.tar.bz2
samba-257ae5443631e645842cfcc9c1cedce6c41d5afa.zip
s4:scripting/python: always treat the highwatermark as opaque (bug #9508)
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting')
-rwxr-xr-xsource4/scripting/devel/getncchanges2
-rwxr-xr-xsource4/scripting/devel/repl_cleartext_pwd.py2
-rw-r--r--source4/scripting/python/samba/drs_utils.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/source4/scripting/devel/getncchanges b/source4/scripting/devel/getncchanges
index 736e3db440..d401c82869 100755
--- a/source4/scripting/devel/getncchanges
+++ b/source4/scripting/devel/getncchanges
@@ -177,4 +177,4 @@ if __name__ == "__main__":
nb_iter += 1
if ctr.more_data == 0 or opts.nb_iter == nb_iter:
break
- req8.highwatermark.tmp_highest_usn = ctr.new_highwatermark.tmp_highest_usn
+ req8.highwatermark = ctr.new_highwatermark
diff --git a/source4/scripting/devel/repl_cleartext_pwd.py b/source4/scripting/devel/repl_cleartext_pwd.py
index 5eebc8689d..9637d885e0 100755
--- a/source4/scripting/devel/repl_cleartext_pwd.py
+++ b/source4/scripting/devel/repl_cleartext_pwd.py
@@ -406,4 +406,4 @@ if __name__ == "__main__":
print "# up to usn[%d]" % (ctr.new_highwatermark.highest_usn)
break
print "# up to tmp_usn[%d]" % (ctr.new_highwatermark.highest_usn)
- req8.highwatermark.tmp_highest_usn = ctr.new_highwatermark.tmp_highest_usn
+ req8.highwatermark = ctr.new_highwatermark
diff --git a/source4/scripting/python/samba/drs_utils.py b/source4/scripting/python/samba/drs_utils.py
index 481eec2920..6e2cfea9ab 100644
--- a/source4/scripting/python/samba/drs_utils.py
+++ b/source4/scripting/python/samba/drs_utils.py
@@ -252,4 +252,4 @@ class drs_Replicate(object):
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
+ req.highwatermark = ctr.new_highwatermark