From: Frank Brehm Date: Thu, 7 Jan 2021 16:54:07 +0000 (+0100) Subject: Debug output X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=e04768177ffe99417474f6168570d1e1e818e99c;p=pixelpark%2Fldap-migration.git Debug output --- diff --git a/lib/ldap_migration/__init__.py b/lib/ldap_migration/__init__.py index 8f948b4..166e99d 100644 --- a/lib/ldap_migration/__init__.py +++ b/lib/ldap_migration/__init__.py @@ -1574,6 +1574,8 @@ class LDAPMigrationApplication(BaseApplication): tgt_dn = self.mangle_dn(src_dn) rev_dn = self.get_reverse_dn(tgt_dn) + LOG.debug("Checking {rdn!r} against {sdn!r} ...".format( + rdn=rev_dn.lower(), sdn=self.rev_dn_samba_computers.lower())) if (rev_dn.lower().startswith(self.rev_dn_samba_computers.lower()) and tgt_dn.lower().startswith('uid=')): LOG.info("Entry {!r} is a Samba Computer entry and will not be migrated.".format(