]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
dbcheck: add docstring for err_odd_userParameters
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 3 Dec 2020 23:34:52 +0000 (12:34 +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 08552e6dc570553c9644db3761f94dd6699ec40c..c11de3b3a94f403cee496fcce39c2063991379c4 100644 (file)
@@ -1033,7 +1033,7 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base)))
             self.report("Corrected doubled-UTF16 encoded userParameters on %s by converting" % (obj.dn))
 
     def err_odd_userParameters(self, obj, attrname):
-        # This is a truncated userParameters due to a pre 4.1 replication bug
+        """Fix a truncated userParameters due to a pre 4.1 replication bug"""
         self.report("ERROR: incorrect userParameters value on object %s (odd length).  If you have another working DC that does not give this warning, please run 'samba-tool drs replicate --full-sync --local <destinationDC> <sourceDC> %s'" % (obj.dn, self.samdb.get_nc_root(obj.dn)))
 
     def find_revealed_link(self, dn, attrname, guid):