summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2016-11-03 13:30:56 +1300
committerKarolin Seeger <kseeger@samba.org>2016-11-30 12:19:33 +0100
commitda6d45a59399e487b468fa8bb7a85c1032a26de5 (patch)
treeeca51ca48d9b4e4992f695ef0dc17327e6f03564
parent527eadd2461a5047f87e0a1eb9d075ca1b5e9f42 (diff)
downloadsamba-da6d45a59399e487b468fa8bb7a85c1032a26de5.tar.gz
dbcheck: Correctly initialise keep_transaction in missing_parent test
Otherwise there is no point to this variable, we are trying to work out if the subsequent modify succeded Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> BUG: https://bugzilla.samba.org/show_bug.cgi?id=9954 (cherry picked from commit 09537a67b0e761c834fb7c14d7e8d55e07fc5156)
-rw-r--r--python/samba/dbchecker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/dbchecker.py b/python/samba/dbchecker.py
index 72b2eea9e12..3fcfbc05639 100644
--- a/python/samba/dbchecker.py
+++ b/python/samba/dbchecker.py
@@ -685,7 +685,7 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base)))
self.report('Not moving object %s into LostAndFound' % (obj.dn))
return
- keep_transaction = True
+ keep_transaction = False
self.samdb.transaction_start()
try:
nc_root = self.samdb.get_nc_root(obj.dn);