summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba/netcmd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-12-08 11:47:59 +1100
committerAndrew Tridgell <tridge@samba.org>2011-12-08 03:23:49 +0100
commit86338ab551baf7c5dc4f63a1a103880e886acf69 (patch)
tree398a8766d9cf0eb0d362a47fc02d06e4a89a080a /source4/scripting/python/samba/netcmd
parent819f11285d12041f2a22a6c92ebabb8a559886c5 (diff)
downloadsamba-86338ab551baf7c5dc4f63a1a103880e886acf69.tar.gz
samba-86338ab551baf7c5dc4f63a1a103880e886acf69.tar.xz
samba-86338ab551baf7c5dc4f63a1a103880e886acf69.zip
dbcheck: cope with objects disappearing during checking
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 8 03:23:49 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/scripting/python/samba/netcmd')
-rw-r--r--source4/scripting/python/samba/netcmd/dbcheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/dbcheck.py b/source4/scripting/python/samba/netcmd/dbcheck.py
index 1d4a5b4f33..bd250eb6be 100644
--- a/source4/scripting/python/samba/netcmd/dbcheck.py
+++ b/source4/scripting/python/samba/netcmd/dbcheck.py
@@ -102,7 +102,7 @@ class cmd_dbcheck(Command):
started_transaction = True
try:
chk = dbcheck(samdb, samdb_schema=samdb_schema, verbose=verbose,
- fix=fix, yes=yes, quiet=quiet)
+ fix=fix, yes=yes, quiet=quiet, in_transaction=started_transaction)
if reindex:
self.outf.write("Re-indexing...\n")