From d8f607e394bd007908fa96ecfc585e4043463d49 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 1 Jun 2023 11:23:50 +0200 Subject: [PATCH] Changing attributes to check in lib/pp_admintools/app/duplicate_attribs.py --- lib/pp_admintools/app/duplicate_attribs.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/pp_admintools/app/duplicate_attribs.py b/lib/pp_admintools/app/duplicate_attribs.py index 91180ad..b381b1f 100644 --- a/lib/pp_admintools/app/duplicate_attribs.py +++ b/lib/pp_admintools/app/duplicate_attribs.py @@ -25,7 +25,7 @@ from ..xlate import XLATOR from .ldap import BaseLdapApplication -__version__ = '0.3.1' +__version__ = '0.3.2' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -41,9 +41,11 @@ class EvalDuplicateAttribsApplication(BaseLdapApplication): show_cmdline_ldap_timeout = True apply_default_ldap_instance_if_not_given = True - default_uniq_attributes = ['uid', 'uidNumber', 'mail'] + default_uniq_attributes = ['uid'] default_dependend_uniq_attribs = { + 'mail': '|(objectClass=inetLocalMailRecipient)(objectClass=inetMailGroup)(objectclass=inetMailUser)', 'gidNumber': 'objectClass=posixGroup', + 'uidNumber': 'objectClass=posixAccount', } # ------------------------------------------------------------------------- -- 2.39.5