git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
658fbef
)
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
Michael Adam
<obnox@samba.org>
Tue, 24 Sep 2013 05:44:29 +0000
(07:44 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
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