mirror of
https://github.com/samba-team/samba.git
synced 2025-09-06 17:44:20 +03:00
dbcheck: Ensure dbcheck can operate with --attrs set
This also includes a test to ensure we do not regress on this point. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
committed by
Stefan Metzmacher
parent
5277fc4d03
commit
f596dc94e1
@@ -1142,7 +1142,7 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base)))
|
||||
self.fix_metadata(dn, att)
|
||||
|
||||
if self.is_fsmo_role(dn):
|
||||
if "fSMORoleOwner" not in obj:
|
||||
if "fSMORoleOwner" not in obj and ("*" in attrs or "fsmoroleowner" in map(str.lower, attrs)):
|
||||
self.err_no_fsmoRoleOwner(obj)
|
||||
error_count += 1
|
||||
|
||||
|
Reference in New Issue
Block a user