mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
dbcheck: fix message formatting
previously these would have raised an exception Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <noel.power@suse.com>
This commit is contained in:
committed by
Douglas Bagnall
parent
2fedb95022
commit
9057b1c45e
@ -1099,7 +1099,7 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base)))
|
|||||||
return (missing_forward_links, error_count)
|
return (missing_forward_links, error_count)
|
||||||
|
|
||||||
if forward_syntax != ldb.SYNTAX_DN:
|
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)
|
forward_syntax)
|
||||||
return (missing_forward_links, error_count)
|
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()
|
target = self.samdb.get_dsServiceName()
|
||||||
|
|
||||||
if self.samdb.am_rodc():
|
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
|
return
|
||||||
|
|
||||||
if not self.confirm_all('Add yourself to the replica locations for %s?'
|
if not self.confirm_all('Add yourself to the replica locations for %s?'
|
||||||
|
Reference in New Issue
Block a user