summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2018-01-25 14:41:58 +0100
committerKarolin Seeger <kseeger@samba.org>2018-02-09 09:30:21 +0100
commit9971ea32e27775c36d5a87e9ab92b5c619d91818 (patch)
treefeb1e6af346ed042ad4456a341adb7fb57ece6c4 /python
parent973b72286b052ad32d288613d19f0c819a69ce82 (diff)
downloadsamba-9971ea32e27775c36d5a87e9ab92b5c619d91818.tar.gz
dbcheck: add link direction to error message for duplicate links
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13228 Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Ralph Boehme <slow@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit dc43d31cd20fd12d2758b73ec0318215b8fbedfb)
Diffstat (limited to 'python')
-rw-r--r--python/samba/dbchecker.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/samba/dbchecker.py b/python/samba/dbchecker.py
index a73f2b1c7a9..1ab3eb0356e 100644
--- a/python/samba/dbchecker.py
+++ b/python/samba/dbchecker.py
@@ -951,7 +951,8 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base)))
unique_dict[keystr] = dsdb_dn
if len(duplicate_list) != 0:
- self.report("ERROR: Duplicate link values for attribute '%s' in '%s'" % (attrname, obj.dn))
+ self.report("ERROR: Duplicate forward link values for attribute '%s' in '%s'" % (attrname, obj.dn))
+
for keystr in duplicate_list:
d = duplicate_dict[keystr]
for dd in d["delete"]: