From: Douglas Bagnall Date: Thu, 11 Oct 2018 05:33:48 +0000 (+1300) Subject: s4/scripting/demodirsync: fix syntax error X-Git-Tag: tdb-1.3.17~1154 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=105e14cbd1865578bdaad150f2254ceed88abab1;p=thirdparty%2Fsamba.git s4/scripting/demodirsync: fix syntax error Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- diff --git a/source4/scripting/devel/demodirsync.py b/source4/scripting/devel/demodirsync.py index 248cfec7101..260104cc198 100755 --- a/source4/scripting/devel/demodirsync.py +++ b/source4/scripting/devel/demodirsync.py @@ -138,7 +138,7 @@ cookie.blob.highwatermark.tmp_highest_usn = usn - 2 if cookie.blob.extra_length > 0: cookie.blob.extra.ctr.cursors[0].source_dsa_invocation_id = misc.GUID("128a99bf-e2df-4832-ac0a-1fb625e530db") cookie.blob.extra.ctr.cursors[0].highest_usn = bigusn - 1 -controls = ["dirsync:1:1:50:%s" % base64.b64encode(ndr_pack(cookie)).decode('utf8')) +controls = ["dirsync:1:1:50:%s" % base64.b64encode(ndr_pack(cookie)).decode('utf8')] (msgs, ctrls) = remote_ldb.searchex(expression="(objectclass=*)", base=base, controls=controls) if (len(ctrls)): for ctl in ctrls: