]> Frank Brehm's Git Trees - pixelpark/ldap-migration.git/commitdiff
Debug output
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 7 Jan 2021 16:54:07 +0000 (17:54 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 7 Jan 2021 16:54:07 +0000 (17:54 +0100)
lib/ldap_migration/__init__.py

index 8f948b4390a269926802bf0f2265d9e3c2728a49..166e99d2d63bc9b4e7ad674355a4708692a2790c 100644 (file)
@@ -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(