from ..argparse_actions import NonNegativeItegerOptionAction
from ..argparse_actions import LimitedFloatOptionAction
-__version__ = '0.7.1'
+__version__ = '0.7.2'
LOG = logging.getLogger(__name__)
_ = XLATOR.gettext
LOG.debug(_("Entry {!r} is set to be kept.").format(dn))
continue
+ self.empty_line()
self.delete_entry(self.tgt_instance, dn)
count += 1
if self.wait_after_write and not self.simulate:
LOG.debug(_("Entry {!r} is set to be synchronized.").format(dn))
continue
+ self.empty_line()
self.delete_entry(self.tgt_instance, dn)
count += 1
if self.wait_after_write and not self.simulate:
for dn in dns:
- self.empty_line()
- LOG.info(_("Mirroring entry {!r} ...").format(dn))
+ if self.verbose:
+ self.empty_line()
+ LOG.debug(_("Mirroring entry {!r} ...").format(dn))
src_entry = self.get_entry(dn, self.src_instance, attributes)
src_attribs = self.normalized_attributes(src_entry)
changes = self.generate_modify_data(dn, src_attribs, tgt_attribs)
if changes:
+ self.empty_line()
+ LOG.info(_("Modifying entry {!r} ...").format(dn))
msg = _("Got modify data for DN {!r}:").format(dn)
LOG.debug(msg + '\n' + pp(changes))
self.mirrored_entries += 1
count += 1
else:
- LOG.info(_("No changes necessary on DN {!r}.").format(dn))
+ LOG.debug(_("No changes necessary on DN {!r}.").format(dn))
continue
else:
LOG.debug(_("Target entry {!r} not found.").format(dn))
(object_classes, target_entry) = self.generate_create_entry(src_attribs)
+ self.empty_line()
+ LOG.info(_("Creating entry {!r} ...").format(dn))
msg = _("Got create data for DN {!r}:").format(dn)
msg += '\nobjectClasses:\n' + pp(object_classes)
msg += "\nAttributes:\n" + pp(target_entry)
msgstr ""
"Project-Id-Version: pp_admintools 0.9.1\n"
"Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n"
-"POT-Creation-Date: 2022-10-31 17:55+0100\n"
+"POT-Creation-Date: 2022-11-01 11:45+0100\n"
"PO-Revision-Date: 2022-10-20 17:12+0200\n"
"Last-Translator: Frank Brehm <frank.brehm@pixelpark.com>\n"
"Language: de_DE\n"
msgstr[1] "{no} strukturelle Einträge im Quell-LDAP"
#: lib/pp_admintools/app/mirror_ldap.py:316
-#, fuzzy
msgid "one non-structural entry in source LDAP."
msgid_plural "{no} non-structural entries in source LDAP."
-msgstr[0] "einen strukturellen Eintrag im Ziel-LDAP."
-msgstr[1] "{no} strukturelle Einträge im Ziel-LDAP."
+msgstr[0] "einen nicht-strukturellen Eintrag im Ziel-LDAP."
+msgstr[1] "{no} nicht-strukturelle Einträge im Ziel-LDAP."
#: lib/pp_admintools/app/mirror_ldap.py:324 lib/pp_admintools/app/mirror_ldap.py:379
msgid "Found structural DNs in instance {!r}:"
#: lib/pp_admintools/app/mirror_ldap.py:363
msgid "Found total one entry in target LDAP"
msgid_plural "Found {no} entries in target LDAP"
-msgstr[0] ""
-msgstr[1] ""
+msgstr[0] "Fand insgesamt einen Eintrag im Ziel-LDAP"
+msgstr[1] "Fand {no} Einträge im Ziel-LDAP"
#: lib/pp_admintools/app/mirror_ldap.py:367
-#, fuzzy
msgid "one structural entry in target LDAP"
msgid_plural "{no} structural entries in target LDAP"
-msgstr[0] "Es wurde ein struktureller Eintrag in der Ziel-LDAP-Instanz gelöscht."
-msgstr[1] "Es wurden {no} strukturelle Einträge in der Ziel-LDAP-Instanz gelöscht."
+msgstr[0] "ein struktureller Eintrag im Ziel-LDAP"
+msgstr[1] "{no} strukturelle Einträge im Ziel-LDAP"
#: lib/pp_admintools/app/mirror_ldap.py:371
-#, fuzzy
msgid "one non-structural entry in target LDAP."
msgid_plural "{no} non-structural entries in target LDAP."
-msgstr[0] "Es wurde ein nicht-struktureller Eintrag in der Ziel-LDAP-Instanz gelöscht."
-msgstr[1] "Es wurden {no} nicht-strukturelle Einträge in der Ziel-LDAP-Instanz gelöscht."
+msgstr[0] "ein nicht-struktureller Eintrag im Ziel-LDAP."
+msgstr[1] "{no} nicht-strukturelle Einträge im Ziel-LDAP."
#: lib/pp_admintools/app/mirror_ldap.py:387
msgid ""
msgid "Removing non structural entries from target LDAP instance."
msgstr "Löschen nicht-struktureller Einträge in der Ziel-LDAP-Instanz."
-#: lib/pp_admintools/app/mirror_ldap.py:460 lib/pp_admintools/app/mirror_ldap.py:517
+#: lib/pp_admintools/app/mirror_ldap.py:460 lib/pp_admintools/app/mirror_ldap.py:518
msgid "Entry {!r} exists on the source instance, will not be removed."
msgstr "Der Eintrag {!r} existiert in der Ziel-Instanz und wird deshalb nicht gelöscht."
msgid "Entry {!r} is a structural entry, will not be removed at this point."
msgstr "Der Eintrag {!r} ist ein struktureller Eintrag, und wird deshalb an dieser Stelle nicht gelöscht."
-#: lib/pp_admintools/app/mirror_ldap.py:472 lib/pp_admintools/app/mirror_ldap.py:522
+#: lib/pp_admintools/app/mirror_ldap.py:472 lib/pp_admintools/app/mirror_ldap.py:523
msgid "Entry {!r} is set to be kept."
msgstr "Der Eintrag {!r} wurde auf Erhalten gesetzt."
-#: lib/pp_admintools/app/mirror_ldap.py:481
+#: lib/pp_admintools/app/mirror_ldap.py:482
msgid "Removed one not structural entry in target LDAP instance."
msgid_plural "Removed {no} not structural entries in target LDAP instance."
msgstr[0] "Es wurde ein nicht-struktureller Eintrag in der Ziel-LDAP-Instanz gelöscht."
msgstr[1] "Es wurden {no} nicht-strukturelle Einträge in der Ziel-LDAP-Instanz gelöscht."
-#: lib/pp_admintools/app/mirror_ldap.py:486
+#: lib/pp_admintools/app/mirror_ldap.py:487
msgid "None not structural entries in target LDAP instance removed."
msgstr "Es wurden keine nicht-strukturellen Einträge in der Ziel-LDAP-Instanz gelöscht."
-#: lib/pp_admintools/app/mirror_ldap.py:500
+#: lib/pp_admintools/app/mirror_ldap.py:501
msgid "Removing structural entries from target LDAP instance."
msgstr "Löschen struktureller Einträge in der Ziel-LDAP-Instanz."
-#: lib/pp_admintools/app/mirror_ldap.py:526
+#: lib/pp_admintools/app/mirror_ldap.py:527
msgid "Entry {!r} is set to be synchronized."
msgstr "Der Eintrag {!r} wurde auf Synchronisation gesetzt."
-#: lib/pp_admintools/app/mirror_ldap.py:535
+#: lib/pp_admintools/app/mirror_ldap.py:537
msgid "Removed one structural entry in target LDAP instance."
msgid_plural "Removed {no} structural entries in target LDAP instance."
msgstr[0] "Es wurde ein struktureller Eintrag in der Ziel-LDAP-Instanz gelöscht."
msgstr[1] "Es wurden {no} strukturelle Einträge in der Ziel-LDAP-Instanz gelöscht."
-#: lib/pp_admintools/app/mirror_ldap.py:540
+#: lib/pp_admintools/app/mirror_ldap.py:542
msgid "None structural entries in target LDAP instance removed."
msgstr "Es wurden keine strukturellen Einträge in der Ziel-LDAP-Instanz gelöscht."
-#: lib/pp_admintools/app/mirror_ldap.py:548
-#, fuzzy
+#: lib/pp_admintools/app/mirror_ldap.py:550
msgid "Mirroring structural entries from source to target LDAP instance."
-msgstr "Löschen struktureller Einträge in der Ziel-LDAP-Instanz."
+msgstr "Spiegeln struktureller Einträge von der Quell- in die Ziel-LDAP-Instanz."
-#: lib/pp_admintools/app/mirror_ldap.py:561
-#, fuzzy
+#: lib/pp_admintools/app/mirror_ldap.py:564
msgid "Mirroring entry {!r} ..."
-msgstr "Lösche {!r} …"
+msgstr "Spiegele Eintrag {!r} …"
-#: lib/pp_admintools/app/mirror_ldap.py:584
-msgid "Got modify data for DN {!r}:"
-msgstr ""
+#: lib/pp_admintools/app/mirror_ldap.py:588
+msgid "Modifying entry {!r} ..."
+msgstr "Ändere Eintrag {!r} …"
#: lib/pp_admintools/app/mirror_ldap.py:589
+msgid "Got modify data for DN {!r}:"
+msgstr "Bekam Änderungsdaten für DN {!r}:"
+
+#: lib/pp_admintools/app/mirror_ldap.py:594
msgid "No changes necessary on DN {!r}."
-msgstr ""
+msgstr "Keine Änderungen bei DN {!r} notwendig."
-#: lib/pp_admintools/app/mirror_ldap.py:593
-#, fuzzy
+#: lib/pp_admintools/app/mirror_ldap.py:598
msgid "Target entry {!r} not found."
-msgstr "Die Ziel-Datei ist nicht definiert."
+msgstr "Der Ziel-Eintrag {!r} wurde nicht gefunden."
+
+#: lib/pp_admintools/app/mirror_ldap.py:601
+msgid "Creating entry {!r} ..."
+msgstr "Erstelle Eintrag {!r} …"
-#: lib/pp_admintools/app/mirror_ldap.py:595
+#: lib/pp_admintools/app/mirror_ldap.py:602
msgid "Got create data for DN {!r}:"
-msgstr ""
+msgstr "Bekam Erstellungsdaten für DN {!r}:"
-#: lib/pp_admintools/app/mirror_ldap.py:606
-#, fuzzy
+#: lib/pp_admintools/app/mirror_ldap.py:613
msgid "Mirrored one structural entry in target LDAP instance."
msgid_plural "Mirrored {no} structural entries to target LDAP instance."
-msgstr[0] "Es wurde ein struktureller Eintrag in der Ziel-LDAP-Instanz gelöscht."
-msgstr[1] "Es wurden {no} strukturelle Einträge in der Ziel-LDAP-Instanz gelöscht."
+msgstr[0] "Es wurde ein struktureller Eintrag in die Ziel-LDAP-Instanz gespiegelt."
+msgstr[1] "Es wurden {no} strukturelle Einträge in die Ziel-LDAP-Instanz gespiegelt."
-#: lib/pp_admintools/app/mirror_ldap.py:611
-#, fuzzy
+#: lib/pp_admintools/app/mirror_ldap.py:618
msgid "Mirrored no structural entries to target LDAP instance."
-msgstr "Löschen nicht-struktureller Einträge in der Ziel-LDAP-Instanz."
+msgstr "Spiegeln nicht-struktureller Einträge in die Ziel-LDAP-Instanz."
#: lib/pp_admintools/app/pdns.py:99 lib/pp_admintools/app/pdns.py:183
msgid "Configuration not available."
msgstr ""
"Project-Id-Version: pp_admintools 0.9.1\n"
"Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n"
-"POT-Creation-Date: 2022-10-31 17:55+0100\n"
+"POT-Creation-Date: 2022-11-01 11:45+0100\n"
"PO-Revision-Date: 2022-10-20 12:00+0200\n"
"Last-Translator: Frank Brehm <frank.brehm@pixelpark.com>\n"
"Language: en_US\n"
msgid "Removing non structural entries from target LDAP instance."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:460 lib/pp_admintools/app/mirror_ldap.py:517
+#: lib/pp_admintools/app/mirror_ldap.py:460 lib/pp_admintools/app/mirror_ldap.py:518
msgid "Entry {!r} exists on the source instance, will not be removed."
msgstr ""
msgid "Entry {!r} is a structural entry, will not be removed at this point."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:472 lib/pp_admintools/app/mirror_ldap.py:522
+#: lib/pp_admintools/app/mirror_ldap.py:472 lib/pp_admintools/app/mirror_ldap.py:523
msgid "Entry {!r} is set to be kept."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:481
+#: lib/pp_admintools/app/mirror_ldap.py:482
msgid "Removed one not structural entry in target LDAP instance."
msgid_plural "Removed {no} not structural entries in target LDAP instance."
msgstr[0] ""
msgstr[1] ""
-#: lib/pp_admintools/app/mirror_ldap.py:486
+#: lib/pp_admintools/app/mirror_ldap.py:487
msgid "None not structural entries in target LDAP instance removed."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:500
+#: lib/pp_admintools/app/mirror_ldap.py:501
msgid "Removing structural entries from target LDAP instance."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:526
+#: lib/pp_admintools/app/mirror_ldap.py:527
msgid "Entry {!r} is set to be synchronized."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:535
+#: lib/pp_admintools/app/mirror_ldap.py:537
msgid "Removed one structural entry in target LDAP instance."
msgid_plural "Removed {no} structural entries in target LDAP instance."
msgstr[0] ""
msgstr[1] ""
-#: lib/pp_admintools/app/mirror_ldap.py:540
+#: lib/pp_admintools/app/mirror_ldap.py:542
msgid "None structural entries in target LDAP instance removed."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:548
+#: lib/pp_admintools/app/mirror_ldap.py:550
msgid "Mirroring structural entries from source to target LDAP instance."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:561
+#: lib/pp_admintools/app/mirror_ldap.py:564
msgid "Mirroring entry {!r} ..."
msgstr "Mirroring entry {!r} …"
-#: lib/pp_admintools/app/mirror_ldap.py:584
+#: lib/pp_admintools/app/mirror_ldap.py:588
+msgid "Modifying entry {!r} ..."
+msgstr "Modifying entry {!r} …"
+
+#: lib/pp_admintools/app/mirror_ldap.py:589
msgid "Got modify data for DN {!r}:"
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:589
+#: lib/pp_admintools/app/mirror_ldap.py:594
msgid "No changes necessary on DN {!r}."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:593
+#: lib/pp_admintools/app/mirror_ldap.py:598
msgid "Target entry {!r} not found."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:595
+#: lib/pp_admintools/app/mirror_ldap.py:601
+msgid "Creating entry {!r} ..."
+msgstr "Creating entry {!r} …"
+
+#: lib/pp_admintools/app/mirror_ldap.py:602
msgid "Got create data for DN {!r}:"
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:606
+#: lib/pp_admintools/app/mirror_ldap.py:613
msgid "Mirrored one structural entry in target LDAP instance."
msgid_plural "Mirrored {no} structural entries to target LDAP instance."
msgstr[0] ""
msgstr[1] ""
-#: lib/pp_admintools/app/mirror_ldap.py:611
+#: lib/pp_admintools/app/mirror_ldap.py:618
msgid "Mirrored no structural entries to target LDAP instance."
msgstr ""
msgstr ""
"Project-Id-Version: pp_admintools 0.9.1\n"
"Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n"
-"POT-Creation-Date: 2022-10-31 17:55+0100\n"
+"POT-Creation-Date: 2022-11-01 11:45+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <frank.brehm@pixelpark.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "Removing non structural entries from target LDAP instance."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:460 lib/pp_admintools/app/mirror_ldap.py:517
+#: lib/pp_admintools/app/mirror_ldap.py:460 lib/pp_admintools/app/mirror_ldap.py:518
msgid "Entry {!r} exists on the source instance, will not be removed."
msgstr ""
msgid "Entry {!r} is a structural entry, will not be removed at this point."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:472 lib/pp_admintools/app/mirror_ldap.py:522
+#: lib/pp_admintools/app/mirror_ldap.py:472 lib/pp_admintools/app/mirror_ldap.py:523
msgid "Entry {!r} is set to be kept."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:481
+#: lib/pp_admintools/app/mirror_ldap.py:482
msgid "Removed one not structural entry in target LDAP instance."
msgid_plural "Removed {no} not structural entries in target LDAP instance."
msgstr[0] ""
msgstr[1] ""
-#: lib/pp_admintools/app/mirror_ldap.py:486
+#: lib/pp_admintools/app/mirror_ldap.py:487
msgid "None not structural entries in target LDAP instance removed."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:500
+#: lib/pp_admintools/app/mirror_ldap.py:501
msgid "Removing structural entries from target LDAP instance."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:526
+#: lib/pp_admintools/app/mirror_ldap.py:527
msgid "Entry {!r} is set to be synchronized."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:535
+#: lib/pp_admintools/app/mirror_ldap.py:537
msgid "Removed one structural entry in target LDAP instance."
msgid_plural "Removed {no} structural entries in target LDAP instance."
msgstr[0] ""
msgstr[1] ""
-#: lib/pp_admintools/app/mirror_ldap.py:540
+#: lib/pp_admintools/app/mirror_ldap.py:542
msgid "None structural entries in target LDAP instance removed."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:548
+#: lib/pp_admintools/app/mirror_ldap.py:550
msgid "Mirroring structural entries from source to target LDAP instance."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:561
+#: lib/pp_admintools/app/mirror_ldap.py:564
msgid "Mirroring entry {!r} ..."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:584
-msgid "Got modify data for DN {!r}:"
+#: lib/pp_admintools/app/mirror_ldap.py:588
+msgid "Modifying entry {!r} ..."
msgstr ""
#: lib/pp_admintools/app/mirror_ldap.py:589
+msgid "Got modify data for DN {!r}:"
+msgstr ""
+
+#: lib/pp_admintools/app/mirror_ldap.py:594
msgid "No changes necessary on DN {!r}."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:593
+#: lib/pp_admintools/app/mirror_ldap.py:598
msgid "Target entry {!r} not found."
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:595
+#: lib/pp_admintools/app/mirror_ldap.py:601
+msgid "Creating entry {!r} ..."
+msgstr ""
+
+#: lib/pp_admintools/app/mirror_ldap.py:602
msgid "Got create data for DN {!r}:"
msgstr ""
-#: lib/pp_admintools/app/mirror_ldap.py:606
+#: lib/pp_admintools/app/mirror_ldap.py:613
msgid "Mirrored one structural entry in target LDAP instance."
msgid_plural "Mirrored {no} structural entries to target LDAP instance."
msgstr[0] ""
msgstr[1] ""
-#: lib/pp_admintools/app/mirror_ldap.py:611
+#: lib/pp_admintools/app/mirror_ldap.py:618
msgid "Mirrored no structural entries to target LDAP instance."
msgstr ""