summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-07 09:57:34 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-07 12:20:49 +0200
commitc180feb16cd6933fc81e949b440707c4982a8295 (patch)
tree7f0d2d883bb18d0446863efa0bc68a5855e74b13 /source4/scripting/python
parentec910d94d3f4515c1cb4528e5e07be2296734f9a (diff)
downloadsamba-c180feb16cd6933fc81e949b440707c4982a8295.tar.gz
samba-c180feb16cd6933fc81e949b440707c4982a8295.tar.bz2
samba-c180feb16cd6933fc81e949b440707c4982a8295.zip
s4:dbchecker: make use of local_oid controls for dsdb.DSDB_CONTROL_DBCHECK
metze
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/dbchecker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/dbchecker.py b/source4/scripting/python/samba/dbchecker.py
index f19891a8d9..8120307dfa 100644
--- a/source4/scripting/python/samba/dbchecker.py
+++ b/source4/scripting/python/samba/dbchecker.py
@@ -211,7 +211,7 @@ class dbcheck(object):
m = ldb.Message()
m.dn = dn
m['old_value'] = ldb.MessageElement(val, ldb.FLAG_MOD_DELETE, attrname)
- if self.do_modify(m, ["show_recycled:1", "%s:0" % dsdb.DSDB_CONTROL_DBCHECK],
+ if self.do_modify(m, ["show_recycled:1", "local_oid:%s:0" % dsdb.DSDB_CONTROL_DBCHECK],
"Failed to remove deleted DN attribute %s" % attrname):
self.report("Removed deleted DN on attribute %s" % attrname)