From 9057b1c45e66698dd86bc3fd830e6c7533d59c45 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Fri, 26 Oct 2018 20:08:31 +1300 Subject: [PATCH] dbcheck: fix message formatting previously these would have raised an exception Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- python/samba/dbchecker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/samba/dbchecker.py b/python/samba/dbchecker.py index c70ca7bc212..64c3ffa3f58 100644 --- a/python/samba/dbchecker.py +++ b/python/samba/dbchecker.py @@ -1099,7 +1099,7 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base))) return (missing_forward_links, error_count) if forward_syntax != ldb.SYNTAX_DN: - self.report("Not checking for missing forward links for syntax: %s", + self.report("Not checking for missing forward links for syntax: %s" % forward_syntax) return (missing_forward_links, error_count) @@ -1971,7 +1971,7 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base))) target = self.samdb.get_dsServiceName() if self.samdb.am_rodc(): - self.report('Not fixing %s for the RODC' % (attr, obj.dn)) + self.report('Not fixing %s %s for the RODC' % (attr, obj.dn)) return if not self.confirm_all('Add yourself to the replica locations for %s?' -- 2.47.2