From: Frank Brehm Date: Thu, 1 Jun 2023 09:23:50 +0000 (+0200) Subject: Changing attributes to check in lib/pp_admintools/app/duplicate_attribs.py X-Git-Tag: 0.10.0^2~31 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=d8f607e394bd007908fa96ecfc585e4043463d49;p=pixelpark%2Fpp-admin-tools.git Changing attributes to check in lib/pp_admintools/app/duplicate_attribs.py --- 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', } # -------------------------------------------------------------------------