]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
dbcheck: fix doc for err_normalise_mismatch*
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 3 Dec 2020 22:52:40 +0000 (11:52 +1300)
committerNoel Power <npower@samba.org>
Wed, 9 Dec 2020 16:00:39 +0000 (16:00 +0000)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
python/samba/dbchecker.py

index 90f56c1c053fb5627d63985aeea84bd1b46c2239..67583376323abe7caa210b6424fd22be47d53bd4 100644 (file)
@@ -480,7 +480,7 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base)))
             self.report("Removed empty attribute %s" % attrname)
 
     def err_normalise_mismatch(self, dn, attrname, values):
-        '''fix attribute normalisation errors'''
+        '''fix attribute normalisation errors, without altering sort order'''
         self.report("ERROR: Normalisation error for attribute %s in %s" % (attrname, dn))
         mod_list = []
         for val in values:
@@ -511,7 +511,7 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base)))
             self.report("Normalised attribute %s" % attrname)
 
     def err_normalise_mismatch_replace(self, dn, attrname, values):
-        '''fix attribute normalisation errors'''
+        '''fix attribute normalisation and/or sort errors'''
         normalised = self.samdb.dsdb_normalise_attributes(self.samdb_schema, attrname, values)
         self.report("ERROR: Normalisation error for attribute '%s' in '%s'" % (attrname, dn))
         self.report("Values/Order of values do/does not match: %s/%s!" % (values, list(normalised)))