git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7eb397
)
dbcheck: Ensure to always increase the error_count
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 23 Sep 2013 00:07:22 +0000
(17:07 -0700)
committer
Karolin Seeger
<kseeger@samba.org>
Fri, 27 Sep 2013 07:28:58 +0000
(09:28 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
(cherry picked from commit
bcd535e95c5e8f83f6b30264ab1f0de3c6ac2cda
)
python/samba/dbchecker.py
patch
|
blob
|
history
diff --git
a/python/samba/dbchecker.py
b/python/samba/dbchecker.py
index ee8b5ae5fbaec61befcf60211409deb451d6570b..54c52cbdc4257146570b1ee54e434ece24b830e3 100644
(file)
--- a/
python/samba/dbchecker.py
+++ b/
python/samba/dbchecker.py
@@
-1046,6
+1046,7
@@
newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base)))
if str(attrname).lower() == "instancetype":
calculated_instancetype = self.calculate_instancetype(dn)
if len(obj["instanceType"]) != 1 or obj["instanceType"][0] != str(calculated_instancetype):
+ error_count += 1
self.err_wrong_instancetype(obj, calculated_instancetype)
show_dn = True