From: Frank Brehm Date: Fri, 6 Jan 2023 16:59:35 +0000 (+0100) Subject: Translations X-Git-Tag: 0.8.0^2~7 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=541f5ffdce9fbeffc07795157aa396a9d854b3c9;p=pixelpark%2Fpp-admin-tools.git Translations --- diff --git a/lib/pp_admintools/app/check_ldap_dn_attributes.py b/lib/pp_admintools/app/check_ldap_dn_attributes.py index d33b657..2cfe0d0 100644 --- a/lib/pp_admintools/app/check_ldap_dn_attributes.py +++ b/lib/pp_admintools/app/check_ldap_dn_attributes.py @@ -36,7 +36,7 @@ from .ldap import BaseLdapApplication from ..argparse_actions import NonNegativeItegerOptionAction from ..argparse_actions import LimitedFloatOptionAction -__version__ = '0.2.1' +__version__ = '0.2.2' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -132,7 +132,7 @@ class CheckLdapDnAttributesApplication(BaseLdapApplication): if nr: msg = ngettext( "Found one entry to check.", - "Found {} entries to check.".format(nr), nr) + "Found {} entries to check.", nr).format(nr) else: msg = _("Found no to check.") LOG.debug(msg) @@ -154,11 +154,11 @@ class CheckLdapDnAttributesApplication(BaseLdapApplication): for a_val in self.failed_entries[e_dn][attr]: nr_attr += 1 msg = ngettext( - "Got an inconsistent entry.", "Got {} inconsistent entries.".format(nr), nr) + "Got an inconsistent entry.", "Got {} inconsistent entries.", nr).format(nr) LOG.error(msg) msg = ngettext( "There is one inconsistent attribute.", - "There are {} inconsistent attributes.".format(nr_attr), nr_attr) + "There are {} inconsistent attributes.", nr_attr).format(nr_attr) LOG.warn(msg) print(pp(self.failed_entries.as_dict(pure=True))) self.exit(5) diff --git a/locale/de_DE/LC_MESSAGES/pp_admintools.po b/locale/de_DE/LC_MESSAGES/pp_admintools.po index 3df7517..03016b0 100644 --- a/locale/de_DE/LC_MESSAGES/pp_admintools.po +++ b/locale/de_DE/LC_MESSAGES/pp_admintools.po @@ -1,14 +1,14 @@ # German (Germany) translations for pp_admintools. -# Copyright (C) 2022 Frank Brehm, Digitas Pixelpark Berlin +# Copyright (C) 2023 Frank Brehm, Digitas Pixelpark Berlin # This file is distributed under the same license as the pp_admintools project. -# Frank Brehm , 2022. +# Frank Brehm , 2023. # msgid "" msgstr "" -"Project-Id-Version: pp_admintools 0.9.1\n" +"Project-Id-Version: pp_admintools \n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2022-11-18 11:39+0100\n" -"PO-Revision-Date: 2022-11-18 11:40+0200\n" +"POT-Creation-Date: 2023-01-06 17:42+0100\n" +"PO-Revision-Date: 2023-01-06 17:50+0100\n" "Last-Translator: Frank Brehm \n" "Language: de_DE\n" "Language-Team: de_DE \n" @@ -26,6 +26,52 @@ msgstr "Verwende Logdatei {!r}." msgid "Don't using a logfile." msgstr "Verwende keine Logdatei." +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:83 +msgid "" +"Checking all attributes with a DN syntax ({alist}) in the given instance. The check is for the " +"DN-syntax of the attributes and whether they are referencing to existing entries in LDAP." +msgstr "" +"Überprüft alle Attribute mit einer DN-Syntax ({alist}) in der übergebenen Instanz. Es wird die " +"DN-Syntax der Attribute überprüft, und ob sie existierende Einträge im LDAP referenzieren." + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:113 +msgid "Start checking all DN-like attributes in in LDAP instance {inst!r} ({url}) ..." +msgstr "Beginne mit der Überprüfung aller Attribute mit DN-Syntax in der LDAP-Instanz {inst!r} ({url}) …" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:135 +msgid "Found one entry to check." +msgid_plural "Found {} entries to check." +msgstr[0] "Fand einen Eintrag, der überprüft werden muss." +msgstr[1] "Fand {} Einträge, die überprüft werden müssen." + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:137 +msgid "Found no to check." +msgstr "Fand nichts zum überprüfen." + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:157 +msgid "Got an inconsistent entry." +msgid_plural "Got {} inconsistent entries." +msgstr[0] "Habe einen inkonsistenten Eintrag gefunden." +msgstr[1] "Habe {} inkonsistente Einträge gefunden." + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:161 +msgid "There is one inconsistent attribute." +msgid_plural "There are {} inconsistent attributes." +msgstr[0] "Es gibt ein inkonsistentes Attribut." +msgstr[1] "Es gibt {} inkonsistente Attribute." + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:166 +msgid "Did not found any inconsistent entries." +msgstr "Keine inkonsistente Attribute gefunden." + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:174 +msgid "Checking DN-like attributes of entry {!r} ..." +msgstr "Überprüfe Attribute mit DN-Syntax von Eintrag {!r} …" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:179 +msgid "Got attributes:" +msgstr "Gefindene Attribute:" + #: lib/pp_admintools/app/dns_deploy_zones.py:124 msgid "Generation of the BIND9 configuration file for slave zones." msgstr "Generierung der BIND9-Konfigurationsdatei für Slave-Zonen." @@ -129,10 +175,10 @@ msgid "Executing: {}" msgstr "Führe aus: {}" #: lib/pp_admintools/app/dns_deploy_zones.py:456 lib/pp_admintools/app/dns_deploy_zones.py:810 -#: lib/pp_admintools/app/ldap.py:806 lib/pp_admintools/app/ldap.py:936 -#: lib/pp_admintools/app/ldap.py:989 lib/pp_admintools/app/ldap.py:1042 -#: lib/pp_admintools/app/ldap.py:1330 lib/pp_admintools/app/ldap.py:1364 -#: lib/pp_admintools/app/ldap.py:1398 lib/pp_admintools/app/ldap.py:1432 +#: lib/pp_admintools/app/ldap.py:810 lib/pp_admintools/app/ldap.py:944 +#: lib/pp_admintools/app/ldap.py:997 lib/pp_admintools/app/ldap.py:1050 +#: lib/pp_admintools/app/ldap.py:1338 lib/pp_admintools/app/ldap.py:1372 +#: lib/pp_admintools/app/ldap.py:1406 lib/pp_admintools/app/ldap.py:1440 msgid "Result:" msgstr "Ergebnis:" @@ -301,17 +347,17 @@ msgid "The path {!r} must be an absolute path." msgstr "Der Pfad {!r} muss ein absoluter Pfad sein." #: lib/pp_admintools/app/ldap.py:123 lib/pp_admintools/app/ldap.py:284 -#: lib/pp_admintools/app/ldap.py:1446 +#: lib/pp_admintools/app/ldap.py:1454 msgid "The file {!r} does not exists." msgstr "Die Datei {!r} existiert nicht." #: lib/pp_admintools/app/ldap.py:127 lib/pp_admintools/app/ldap.py:288 -#: lib/pp_admintools/app/ldap.py:1451 +#: lib/pp_admintools/app/ldap.py:1459 msgid "The given path {!r} exists, but is not a regular file." msgstr "Der angegebene Pfad {!r} existiert, ist aber keine reguläre Datei." #: lib/pp_admintools/app/ldap.py:131 lib/pp_admintools/app/ldap.py:292 -#: lib/pp_admintools/app/ldap.py:1456 +#: lib/pp_admintools/app/ldap.py:1464 msgid "The given file {!r} is not readable." msgstr "Die angegebene Datei {} ist nicht lesbar." @@ -511,218 +557,222 @@ msgstr "Trenne Bindung zu LDAP-Server {!r} …" msgid "Disconnecting from LDAP server {!r} ..." msgstr "Trenne Verbindung zu LDAP-Server {!r} …" -#: lib/pp_admintools/app/ldap.py:792 lib/pp_admintools/app/ldap.py:831 +#: lib/pp_admintools/app/ldap.py:787 lib/pp_admintools/app/ldap.py:830 +msgid "Using LDAP filter: {!r}" +msgstr "Verwende LDAP-Filter: {!r}." + +#: lib/pp_admintools/app/ldap.py:796 lib/pp_admintools/app/ldap.py:839 msgid "Result of searching for DNs of all entries:" msgstr "Ergebnis der Suche nach den DNs aller Einträge:" -#: lib/pp_admintools/app/ldap.py:796 lib/pp_admintools/app/ldap.py:835 -#: lib/pp_admintools/app/ldap.py:933 lib/pp_admintools/app/ldap.py:986 -#: lib/pp_admintools/app/ldap.py:1039 lib/pp_admintools/app/ldap.py:1127 -#: lib/pp_admintools/app/ldap.py:1327 lib/pp_admintools/app/ldap.py:1361 -#: lib/pp_admintools/app/ldap.py:1395 lib/pp_admintools/app/ldap.py:1429 +#: lib/pp_admintools/app/ldap.py:800 lib/pp_admintools/app/ldap.py:843 +#: lib/pp_admintools/app/ldap.py:941 lib/pp_admintools/app/ldap.py:994 +#: lib/pp_admintools/app/ldap.py:1047 lib/pp_admintools/app/ldap.py:1135 +#: lib/pp_admintools/app/ldap.py:1335 lib/pp_admintools/app/ldap.py:1369 +#: lib/pp_admintools/app/ldap.py:1403 lib/pp_admintools/app/ldap.py:1437 msgid "Got a response entry:" msgstr "Erhaltener Antwort-Eintrag:" -#: lib/pp_admintools/app/ldap.py:821 +#: lib/pp_admintools/app/ldap.py:826 msgid "Getting all Entry DNs of LDAP instance {i!r} below {b!r}." msgstr "Hole DNs aller Einträge der LDAP-Instanz {i!r} unterhalb von {b!r}." -#: lib/pp_admintools/app/ldap.py:857 +#: lib/pp_admintools/app/ldap.py:865 msgid "Trying to evaluate DN of user {user!r} in LDAP instance {inst} ..." msgstr "Versuche den DN des Nutzer {user!r} auf der LDAP-Instanz {inst} zu ermitteln …" -#: lib/pp_admintools/app/ldap.py:862 +#: lib/pp_admintools/app/ldap.py:870 msgid "Trying to evaluate DN of user {u!r} as a mail address ..." msgstr "Versuche den DN des Nutzer {u!r} als Mailadresse zu ermitteln …" -#: lib/pp_admintools/app/ldap.py:869 +#: lib/pp_admintools/app/ldap.py:877 msgid "Trying to evaluate DN of user {u!r} as a LDAP DN ..." msgstr "Versuche den DN des Nutzer {u!r} als LDAP DN zu ermitteln …" -#: lib/pp_admintools/app/ldap.py:876 +#: lib/pp_admintools/app/ldap.py:884 msgid "Trying to evaluate DN of user {u!r} as a UID (Posix user name) ..." msgstr "Versuche den DN des Nutzer {u!r} als UID (POSIX Benutzername) zu ermitteln …" -#: lib/pp_admintools/app/ldap.py:885 lib/pp_admintools/app/remove_ldap_user.py:290 +#: lib/pp_admintools/app/ldap.py:893 lib/pp_admintools/app/remove_ldap_user.py:290 msgid "Empty user given." msgstr "Leere Nutzername übergeben." -#: lib/pp_admintools/app/ldap.py:888 +#: lib/pp_admintools/app/ldap.py:896 msgid "Trying to evaluate DN of user {u!r} as a CN ({c}) ..." msgstr "Versuche den DN des Nutzer {u!r} als CN ({c}) zu ermitteln …" -#: lib/pp_admintools/app/ldap.py:918 lib/pp_admintools/app/ldap.py:971 -#: lib/pp_admintools/app/ldap.py:1024 lib/pp_admintools/app/ldap.py:1315 -#: lib/pp_admintools/app/ldap.py:1349 lib/pp_admintools/app/ldap.py:1383 -#: lib/pp_admintools/app/ldap.py:1417 +#: lib/pp_admintools/app/ldap.py:926 lib/pp_admintools/app/ldap.py:979 +#: lib/pp_admintools/app/ldap.py:1032 lib/pp_admintools/app/ldap.py:1323 +#: lib/pp_admintools/app/ldap.py:1357 lib/pp_admintools/app/ldap.py:1391 +#: lib/pp_admintools/app/ldap.py:1425 msgid "Searching in {uri}/{bdn} with filter: {fltr}" msgstr "Suche in {uri}/{bdn} mit dem Filter: {fltr}" -#: lib/pp_admintools/app/ldap.py:929 +#: lib/pp_admintools/app/ldap.py:937 msgid "Result of searching for mail address {m!r}:" msgstr "Ergebnis der Suche nach der Mailadresse {m!r}:" -#: lib/pp_admintools/app/ldap.py:940 +#: lib/pp_admintools/app/ldap.py:948 msgid "User with mail address {m!r} not found in {uri}/{bdn}." msgstr "Ein Nutzer mit der Mailadresse {m!r} wurde nicht in {uri}/{bdn} gefunden." -#: lib/pp_admintools/app/ldap.py:982 +#: lib/pp_admintools/app/ldap.py:990 msgid "Result of searching for uid {u!r}:" msgstr "Ergebnis der Suche nach UID {u!r}:" -#: lib/pp_admintools/app/ldap.py:993 +#: lib/pp_admintools/app/ldap.py:1001 msgid "User with uid {u!r} not found in {uri}/{bdn}." msgstr "Ein Nutzer mit der UID {u!r} wurde nicht in {uri}/{bdn} gefunden." -#: lib/pp_admintools/app/ldap.py:1035 +#: lib/pp_admintools/app/ldap.py:1043 msgid "Result of searching for CN {cn!r}:" msgstr "Ergebnis der Suche nach CN {cn!r}:" -#: lib/pp_admintools/app/ldap.py:1046 +#: lib/pp_admintools/app/ldap.py:1054 msgid "User with cn {cn!r} not found in {uri}/{bdn}." msgstr "Ein Nutzer mit dem CN {cn!r} wurde nicht in {uri}/{bdn} gefunden." -#: lib/pp_admintools/app/ldap.py:1063 lib/pp_admintools/app/set_ldap_password.py:411 +#: lib/pp_admintools/app/ldap.py:1071 lib/pp_admintools/app/set_ldap_password.py:411 msgid "User with DN {dn!r} not found in {uri}." msgstr "Ein Nutzer mit dem DN {dn!r} wurde nicht in {uri} gefunden." -#: lib/pp_admintools/app/ldap.py:1081 +#: lib/pp_admintools/app/ldap.py:1089 msgid "ObjectClasses of {dn!r}:" msgstr "ObjectClasses von {dn!r}:" -#: lib/pp_admintools/app/ldap.py:1091 +#: lib/pp_admintools/app/ldap.py:1099 msgid "Entry {dn!r} in {uri} seems not to be an account." msgstr "Der Eintrag {dn!r} in {uri} scheint kein Nutzerkonto zu sein." -#: lib/pp_admintools/app/ldap.py:1113 +#: lib/pp_admintools/app/ldap.py:1121 msgid "Searching DN {dn!r} in {uri}." msgstr "Suche DN {dn!r} in {uri}." -#: lib/pp_admintools/app/ldap.py:1123 +#: lib/pp_admintools/app/ldap.py:1131 msgid "Result of searching for DN {dn!r}:" msgstr "Ergebnis der Suche nach dem DN {dn!r}:" -#: lib/pp_admintools/app/ldap.py:1131 +#: lib/pp_admintools/app/ldap.py:1139 msgid "Entry with DN {dn!r} not found in {uri}." msgstr "Ein Eintrag bit dem DN {dn!r} wurde nicht in {uri} gefunden." -#: lib/pp_admintools/app/ldap.py:1176 +#: lib/pp_admintools/app/ldap.py:1184 msgid "Creating entry {dn!r} on {uri}:" msgstr "Erstelle Eintrag {dn!r} in {uri} …" -#: lib/pp_admintools/app/ldap.py:1182 +#: lib/pp_admintools/app/ldap.py:1190 msgid "Simulation mode - entry will not be created." msgstr "Simulationsmodus - der Eintrag wird nicht erstellt." -#: lib/pp_admintools/app/ldap.py:1189 +#: lib/pp_admintools/app/ldap.py:1197 msgid "Creation of entry {dn!r} was NOT successfull - {c}: {e}" msgstr "Die Erstellung des Eintrags {dn!r} war NICHT erfolgreich - {c}: {e}" -#: lib/pp_admintools/app/ldap.py:1204 +#: lib/pp_admintools/app/ldap.py:1212 msgid "Creation status: {!r}." msgstr "Erstellungsstatus: {!r}" -#: lib/pp_admintools/app/ldap.py:1206 +#: lib/pp_admintools/app/ldap.py:1214 msgid "Result of creating:" msgstr "Ergebnis der Erstellung:" -#: lib/pp_admintools/app/ldap.py:1209 +#: lib/pp_admintools/app/ldap.py:1217 msgid "Creation of entry {dn!r} was NOT successful: {desc} - {msg}" msgstr "Die Erstellung des Eintrags {dn!r} war NICHT erfolgreich - {desc}: {msg}" -#: lib/pp_admintools/app/ldap.py:1215 +#: lib/pp_admintools/app/ldap.py:1223 msgid "Creation successful." msgstr "Die Erstellung war erfolgreich." -#: lib/pp_admintools/app/ldap.py:1226 +#: lib/pp_admintools/app/ldap.py:1234 msgid "Applying changes on {uri} to DN {dn!r}:" msgstr "Wende Änderungen in {uri} an DN {dn!r} an:" -#: lib/pp_admintools/app/ldap.py:1231 +#: lib/pp_admintools/app/ldap.py:1239 msgid "Simulation mode - changes are not applied." msgstr "Simulationsmodus - hier wird jetzt nichts geändert." -#: lib/pp_admintools/app/ldap.py:1237 +#: lib/pp_admintools/app/ldap.py:1245 msgid "Modification of {dn!r} was NOT successfull - {c}: {e}" msgstr "Die Änderung von {dn!r} war NICHT erfolgreich - {c}: {e}" -#: lib/pp_admintools/app/ldap.py:1239 lib/pp_admintools/app/ldap.py:1258 +#: lib/pp_admintools/app/ldap.py:1247 lib/pp_admintools/app/ldap.py:1266 #: lib/pp_admintools/app/remove_ldap_user.py:417 lib/pp_admintools/app/remove_ldap_user.py:444 #: lib/pp_admintools/app/remove_ldap_user.py:471 lib/pp_admintools/app/remove_ldap_user.py:502 #: lib/pp_admintools/app/remove_ldap_user.py:533 lib/pp_admintools/app/set_ldap_password.py:521 msgid "Changes:" msgstr "Änderungen:" -#: lib/pp_admintools/app/ldap.py:1251 +#: lib/pp_admintools/app/ldap.py:1259 msgid "Modification status: {!r}." msgstr "Änderungsstatus: {!r}." -#: lib/pp_admintools/app/ldap.py:1253 +#: lib/pp_admintools/app/ldap.py:1261 msgid "Result of modifying:" msgstr "Ergebnis der Änderung:" -#: lib/pp_admintools/app/ldap.py:1256 +#: lib/pp_admintools/app/ldap.py:1264 msgid "Modification of {dn!r} was NOT successful: {desc} - {msg}" msgstr "Die Änderung von {dn!r} war NICHT erfolgreich - {desc}: {msg}" -#: lib/pp_admintools/app/ldap.py:1261 +#: lib/pp_admintools/app/ldap.py:1269 msgid "Modification successful." msgstr "Die Änderung war erfolgreich." -#: lib/pp_admintools/app/ldap.py:1271 +#: lib/pp_admintools/app/ldap.py:1279 msgid "Deleting LDAP entry {dn!r} on {uri} ..." msgstr "Lösche LDAP-Eintrag {dn!r} in {uri} …" -#: lib/pp_admintools/app/ldap.py:1276 +#: lib/pp_admintools/app/ldap.py:1284 msgid "Simulation mode - deletion will not be executed." msgstr "Simulationsmodus - hier wird jetzt nichts gelöscht." -#: lib/pp_admintools/app/ldap.py:1282 +#: lib/pp_admintools/app/ldap.py:1290 msgid "Deletion of {dn!r} was NOT successfull - {c}: {e}" msgstr "Das Löschen von {dn!r} war NICHT erfolgreich - {c}: {e}" -#: lib/pp_admintools/app/ldap.py:1287 +#: lib/pp_admintools/app/ldap.py:1295 msgid "Deletion status: {!r}." msgstr "Löschstatus: {!r}" -#: lib/pp_admintools/app/ldap.py:1289 +#: lib/pp_admintools/app/ldap.py:1297 msgid "Result of deletion:" msgstr "Ergebnis der Löschung:" -#: lib/pp_admintools/app/ldap.py:1292 +#: lib/pp_admintools/app/ldap.py:1300 msgid "Deletion of {dn!r} was NOT successful: {desc} - {msg}" msgstr "Das Löschen von {dn!r} war NICHT erfolgreich - {desc}: {msg}" -#: lib/pp_admintools/app/ldap.py:1296 +#: lib/pp_admintools/app/ldap.py:1304 msgid "Deletion successful." msgstr "Die Löschung war erfolgreich." -#: lib/pp_admintools/app/ldap.py:1443 +#: lib/pp_admintools/app/ldap.py:1451 msgid "Reading password file {!r} ..." msgstr "Lese Passwortdatei {!r} …" -#: lib/pp_admintools/app/ldap.py:1474 +#: lib/pp_admintools/app/ldap.py:1482 msgid "Could not detect RDN from DN {!r}." msgstr "Konnte RDN nich aus {!r} ermitteln." -#: lib/pp_admintools/app/ldap.py:1478 +#: lib/pp_admintools/app/ldap.py:1486 msgid "Found RDN attribute {!r}." msgstr "Fand RDN-Attribut {!r}." -#: lib/pp_admintools/app/ldap.py:1484 +#: lib/pp_admintools/app/ldap.py:1492 msgid "RDN attribute {!r} will not be touched." msgstr "Das RDN-Attribut {!r} wird nicht angefasst." -#: lib/pp_admintools/app/ldap.py:1490 lib/pp_admintools/app/ldap.py:1509 -#: lib/pp_admintools/app/ldap.py:1574 +#: lib/pp_admintools/app/ldap.py:1498 lib/pp_admintools/app/ldap.py:1517 +#: lib/pp_admintools/app/ldap.py:1582 msgid "Attribute {!r} will not be touched." msgstr "Das Attribut {!r} wird nicht angefasst." -#: lib/pp_admintools/app/ldap.py:1543 +#: lib/pp_admintools/app/ldap.py:1551 msgid "Values to add to attribute {!r}:" msgstr "Werte, die zu Attribut {!r} hinzugefügt werden:" -#: lib/pp_admintools/app/ldap.py:1547 +#: lib/pp_admintools/app/ldap.py:1555 msgid "Values to removed from attribute {!r}:" msgstr "Werte, die von Attribut {!r} gelöscht werden." @@ -1765,39 +1815,39 @@ msgstr "Keine gültigen Master in der Konfiguration gefunden." msgid "Evaluated configuration:" msgstr "Evaluierte Konfiguration:" -#: lib/pp_admintools/config/ldap.py:174 +#: lib/pp_admintools/config/ldap.py:180 msgid "Invalid port {!r} for LDAP server given." msgstr "Ungültiger Port {!r} für den LDAP-Server angegeben." -#: lib/pp_admintools/config/ldap.py:187 +#: lib/pp_admintools/config/ldap.py:193 msgid "An empty Base DN for LDAP searches is not allowed." msgstr "Eine leere Basis-DN für LDAP-Suchen ist nicht erlaubt." -#: lib/pp_admintools/config/ldap.py:277 +#: lib/pp_admintools/config/ldap.py:283 msgid "Invalid production tier {!r} given." msgstr "Ungültige Produktionsstufe {!r} angegeben." -#: lib/pp_admintools/config/ldap.py:332 +#: lib/pp_admintools/config/ldap.py:351 msgid "Invalid value {val!r} in section {sec!r} for a LDAP {what}." msgstr "Ungültiger Wert {val!r} in Abschnitt {sec!r} für ein LDAP-{what}." -#: lib/pp_admintools/config/ldap.py:401 +#: lib/pp_admintools/config/ldap.py:424 msgid "Unknown LDAP configuration key {key} found in section {sec!r}." msgstr "Unbekannten Konfigurationsschlüssel {key} in Abschnitt {sec!r} gefunden." -#: lib/pp_admintools/config/ldap.py:505 +#: lib/pp_admintools/config/ldap.py:528 msgid "Evaluating LDAP config ..." msgstr "Ermittle LDAP-Konfiguration …" -#: lib/pp_admintools/config/ldap.py:509 +#: lib/pp_admintools/config/ldap.py:532 msgid "Evaluating LDAP section {!r} ..." msgstr "Evaluiere LDAP-Abschnitt {!r} …" -#: lib/pp_admintools/config/ldap.py:526 +#: lib/pp_admintools/config/ldap.py:549 msgid "Value {!r} for a timeout is invalid." msgstr "Der Wert {!r} für einen Timeout ist ungültig." -#: lib/pp_admintools/config/ldap.py:546 +#: lib/pp_admintools/config/ldap.py:569 msgid "Reading configuration of LDAP instance {!r} ..." msgstr "Lese Konfiguration der LDAP-Instanz {!r} …" diff --git a/locale/en_US/LC_MESSAGES/pp_admintools.po b/locale/en_US/LC_MESSAGES/pp_admintools.po index 959eb61..72e6a1d 100644 --- a/locale/en_US/LC_MESSAGES/pp_admintools.po +++ b/locale/en_US/LC_MESSAGES/pp_admintools.po @@ -1,14 +1,14 @@ # English (United States) translations for pp_admintools. -# Copyright (C) 2022 Frank Brehm, Digitas Pixelpark Berlin +# Copyright (C) 2023 Frank Brehm, Digitas Pixelpark Berlin # This file is distributed under the same license as the pp_admintools project. -# Frank Brehm , 2022. +# Frank Brehm , 2023. # msgid "" msgstr "" -"Project-Id-Version: pp_admintools 0.9.1\n" +"Project-Id-Version: pp_admintools \n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2022-11-18 11:39+0100\n" -"PO-Revision-Date: 2022-11-03 16:45+0200\n" +"POT-Creation-Date: 2023-01-06 17:42+0100\n" +"PO-Revision-Date: 2023-01-06 17:45+0100\n" "Last-Translator: Frank Brehm \n" "Language: en_US\n" "Language-Team: Frank Brehm \n" @@ -26,6 +26,50 @@ msgstr "" msgid "Don't using a logfile." msgstr "" +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:83 +msgid "" +"Checking all attributes with a DN syntax ({alist}) in the given instance. The check is for the " +"DN-syntax of the attributes and whether they are referencing to existing entries in LDAP." +msgstr "" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:113 +msgid "Start checking all DN-like attributes in in LDAP instance {inst!r} ({url}) ..." +msgstr "tart checking all DN-like attributes in in LDAP instance {inst!r} ({url}) …" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:135 +msgid "Found one entry to check." +msgid_plural "Found {} entries to check." +msgstr[0] "" +msgstr[1] "" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:137 +msgid "Found no to check." +msgstr "" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:157 +msgid "Got an inconsistent entry." +msgid_plural "Got {} inconsistent entries." +msgstr[0] "" +msgstr[1] "" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:161 +msgid "There is one inconsistent attribute." +msgid_plural "There are {} inconsistent attributes." +msgstr[0] "" +msgstr[1] "" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:166 +msgid "Did not found any inconsistent entries." +msgstr "" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:174 +msgid "Checking DN-like attributes of entry {!r} ..." +msgstr "Checking DN-like attributes of entry {!r} …" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:179 +msgid "Got attributes:" +msgstr "" + #: lib/pp_admintools/app/dns_deploy_zones.py:124 msgid "Generation of the BIND9 configuration file for slave zones." msgstr "" @@ -127,10 +171,10 @@ msgid "Executing: {}" msgstr "" #: lib/pp_admintools/app/dns_deploy_zones.py:456 lib/pp_admintools/app/dns_deploy_zones.py:810 -#: lib/pp_admintools/app/ldap.py:806 lib/pp_admintools/app/ldap.py:936 -#: lib/pp_admintools/app/ldap.py:989 lib/pp_admintools/app/ldap.py:1042 -#: lib/pp_admintools/app/ldap.py:1330 lib/pp_admintools/app/ldap.py:1364 -#: lib/pp_admintools/app/ldap.py:1398 lib/pp_admintools/app/ldap.py:1432 +#: lib/pp_admintools/app/ldap.py:810 lib/pp_admintools/app/ldap.py:944 +#: lib/pp_admintools/app/ldap.py:997 lib/pp_admintools/app/ldap.py:1050 +#: lib/pp_admintools/app/ldap.py:1338 lib/pp_admintools/app/ldap.py:1372 +#: lib/pp_admintools/app/ldap.py:1406 lib/pp_admintools/app/ldap.py:1440 msgid "Result:" msgstr "" @@ -297,17 +341,17 @@ msgid "The path {!r} must be an absolute path." msgstr "" #: lib/pp_admintools/app/ldap.py:123 lib/pp_admintools/app/ldap.py:284 -#: lib/pp_admintools/app/ldap.py:1446 +#: lib/pp_admintools/app/ldap.py:1454 msgid "The file {!r} does not exists." msgstr "" #: lib/pp_admintools/app/ldap.py:127 lib/pp_admintools/app/ldap.py:288 -#: lib/pp_admintools/app/ldap.py:1451 +#: lib/pp_admintools/app/ldap.py:1459 msgid "The given path {!r} exists, but is not a regular file." msgstr "" #: lib/pp_admintools/app/ldap.py:131 lib/pp_admintools/app/ldap.py:292 -#: lib/pp_admintools/app/ldap.py:1456 +#: lib/pp_admintools/app/ldap.py:1464 msgid "The given file {!r} is not readable." msgstr "" @@ -499,218 +543,222 @@ msgstr "Unbinding from LDAP server {!r} …" msgid "Disconnecting from LDAP server {!r} ..." msgstr "Disconnecting from LDAP server {!r} …" -#: lib/pp_admintools/app/ldap.py:792 lib/pp_admintools/app/ldap.py:831 +#: lib/pp_admintools/app/ldap.py:787 lib/pp_admintools/app/ldap.py:830 +msgid "Using LDAP filter: {!r}" +msgstr "" + +#: lib/pp_admintools/app/ldap.py:796 lib/pp_admintools/app/ldap.py:839 msgid "Result of searching for DNs of all entries:" msgstr "" -#: lib/pp_admintools/app/ldap.py:796 lib/pp_admintools/app/ldap.py:835 -#: lib/pp_admintools/app/ldap.py:933 lib/pp_admintools/app/ldap.py:986 -#: lib/pp_admintools/app/ldap.py:1039 lib/pp_admintools/app/ldap.py:1127 -#: lib/pp_admintools/app/ldap.py:1327 lib/pp_admintools/app/ldap.py:1361 -#: lib/pp_admintools/app/ldap.py:1395 lib/pp_admintools/app/ldap.py:1429 +#: lib/pp_admintools/app/ldap.py:800 lib/pp_admintools/app/ldap.py:843 +#: lib/pp_admintools/app/ldap.py:941 lib/pp_admintools/app/ldap.py:994 +#: lib/pp_admintools/app/ldap.py:1047 lib/pp_admintools/app/ldap.py:1135 +#: lib/pp_admintools/app/ldap.py:1335 lib/pp_admintools/app/ldap.py:1369 +#: lib/pp_admintools/app/ldap.py:1403 lib/pp_admintools/app/ldap.py:1437 msgid "Got a response entry:" msgstr "" -#: lib/pp_admintools/app/ldap.py:821 +#: lib/pp_admintools/app/ldap.py:826 msgid "Getting all Entry DNs of LDAP instance {i!r} below {b!r}." msgstr "" -#: lib/pp_admintools/app/ldap.py:857 +#: lib/pp_admintools/app/ldap.py:865 msgid "Trying to evaluate DN of user {user!r} in LDAP instance {inst} ..." msgstr "Trying to evaluate DN of user {user!r} in LDAP instance {inst} …" -#: lib/pp_admintools/app/ldap.py:862 +#: lib/pp_admintools/app/ldap.py:870 msgid "Trying to evaluate DN of user {u!r} as a mail address ..." msgstr "Trying to evaluate DN of user {u!r} as a mail address …" -#: lib/pp_admintools/app/ldap.py:869 +#: lib/pp_admintools/app/ldap.py:877 msgid "Trying to evaluate DN of user {u!r} as a LDAP DN ..." msgstr "Trying to evaluate DN of user {u!r} as a LDAP DN …" -#: lib/pp_admintools/app/ldap.py:876 +#: lib/pp_admintools/app/ldap.py:884 msgid "Trying to evaluate DN of user {u!r} as a UID (Posix user name) ..." msgstr "Trying to evaluate DN of user {u!r} as a UID (Posix user name) …" -#: lib/pp_admintools/app/ldap.py:885 lib/pp_admintools/app/remove_ldap_user.py:290 +#: lib/pp_admintools/app/ldap.py:893 lib/pp_admintools/app/remove_ldap_user.py:290 msgid "Empty user given." msgstr "" -#: lib/pp_admintools/app/ldap.py:888 +#: lib/pp_admintools/app/ldap.py:896 msgid "Trying to evaluate DN of user {u!r} as a CN ({c}) ..." msgstr "Trying to evaluate DN of user {u!r} as a CN ({c}) …" -#: lib/pp_admintools/app/ldap.py:918 lib/pp_admintools/app/ldap.py:971 -#: lib/pp_admintools/app/ldap.py:1024 lib/pp_admintools/app/ldap.py:1315 -#: lib/pp_admintools/app/ldap.py:1349 lib/pp_admintools/app/ldap.py:1383 -#: lib/pp_admintools/app/ldap.py:1417 +#: lib/pp_admintools/app/ldap.py:926 lib/pp_admintools/app/ldap.py:979 +#: lib/pp_admintools/app/ldap.py:1032 lib/pp_admintools/app/ldap.py:1323 +#: lib/pp_admintools/app/ldap.py:1357 lib/pp_admintools/app/ldap.py:1391 +#: lib/pp_admintools/app/ldap.py:1425 msgid "Searching in {uri}/{bdn} with filter: {fltr}" msgstr "" -#: lib/pp_admintools/app/ldap.py:929 +#: lib/pp_admintools/app/ldap.py:937 msgid "Result of searching for mail address {m!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:940 +#: lib/pp_admintools/app/ldap.py:948 msgid "User with mail address {m!r} not found in {uri}/{bdn}." msgstr "" -#: lib/pp_admintools/app/ldap.py:982 +#: lib/pp_admintools/app/ldap.py:990 msgid "Result of searching for uid {u!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:993 +#: lib/pp_admintools/app/ldap.py:1001 msgid "User with uid {u!r} not found in {uri}/{bdn}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1035 +#: lib/pp_admintools/app/ldap.py:1043 msgid "Result of searching for CN {cn!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1046 +#: lib/pp_admintools/app/ldap.py:1054 msgid "User with cn {cn!r} not found in {uri}/{bdn}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1063 lib/pp_admintools/app/set_ldap_password.py:411 +#: lib/pp_admintools/app/ldap.py:1071 lib/pp_admintools/app/set_ldap_password.py:411 msgid "User with DN {dn!r} not found in {uri}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1081 +#: lib/pp_admintools/app/ldap.py:1089 msgid "ObjectClasses of {dn!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1091 +#: lib/pp_admintools/app/ldap.py:1099 msgid "Entry {dn!r} in {uri} seems not to be an account." msgstr "" -#: lib/pp_admintools/app/ldap.py:1113 +#: lib/pp_admintools/app/ldap.py:1121 msgid "Searching DN {dn!r} in {uri}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1123 +#: lib/pp_admintools/app/ldap.py:1131 msgid "Result of searching for DN {dn!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1131 +#: lib/pp_admintools/app/ldap.py:1139 msgid "Entry with DN {dn!r} not found in {uri}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1176 +#: lib/pp_admintools/app/ldap.py:1184 msgid "Creating entry {dn!r} on {uri}:" msgstr "Creating entry {dn!r} on {uri}:" -#: lib/pp_admintools/app/ldap.py:1182 +#: lib/pp_admintools/app/ldap.py:1190 msgid "Simulation mode - entry will not be created." msgstr "" -#: lib/pp_admintools/app/ldap.py:1189 +#: lib/pp_admintools/app/ldap.py:1197 msgid "Creation of entry {dn!r} was NOT successfull - {c}: {e}" msgstr "" -#: lib/pp_admintools/app/ldap.py:1204 +#: lib/pp_admintools/app/ldap.py:1212 msgid "Creation status: {!r}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1206 +#: lib/pp_admintools/app/ldap.py:1214 msgid "Result of creating:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1209 +#: lib/pp_admintools/app/ldap.py:1217 msgid "Creation of entry {dn!r} was NOT successful: {desc} - {msg}" msgstr "" -#: lib/pp_admintools/app/ldap.py:1215 +#: lib/pp_admintools/app/ldap.py:1223 msgid "Creation successful." msgstr "" -#: lib/pp_admintools/app/ldap.py:1226 +#: lib/pp_admintools/app/ldap.py:1234 msgid "Applying changes on {uri} to DN {dn!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1231 +#: lib/pp_admintools/app/ldap.py:1239 msgid "Simulation mode - changes are not applied." msgstr "" -#: lib/pp_admintools/app/ldap.py:1237 +#: lib/pp_admintools/app/ldap.py:1245 msgid "Modification of {dn!r} was NOT successfull - {c}: {e}" msgstr "" -#: lib/pp_admintools/app/ldap.py:1239 lib/pp_admintools/app/ldap.py:1258 +#: lib/pp_admintools/app/ldap.py:1247 lib/pp_admintools/app/ldap.py:1266 #: lib/pp_admintools/app/remove_ldap_user.py:417 lib/pp_admintools/app/remove_ldap_user.py:444 #: lib/pp_admintools/app/remove_ldap_user.py:471 lib/pp_admintools/app/remove_ldap_user.py:502 #: lib/pp_admintools/app/remove_ldap_user.py:533 lib/pp_admintools/app/set_ldap_password.py:521 msgid "Changes:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1251 +#: lib/pp_admintools/app/ldap.py:1259 msgid "Modification status: {!r}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1253 +#: lib/pp_admintools/app/ldap.py:1261 msgid "Result of modifying:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1256 +#: lib/pp_admintools/app/ldap.py:1264 msgid "Modification of {dn!r} was NOT successful: {desc} - {msg}" msgstr "" -#: lib/pp_admintools/app/ldap.py:1261 +#: lib/pp_admintools/app/ldap.py:1269 msgid "Modification successful." msgstr "" -#: lib/pp_admintools/app/ldap.py:1271 +#: lib/pp_admintools/app/ldap.py:1279 msgid "Deleting LDAP entry {dn!r} on {uri} ..." msgstr "Deleting LDAP entry {dn!r} on {uri} …" -#: lib/pp_admintools/app/ldap.py:1276 +#: lib/pp_admintools/app/ldap.py:1284 msgid "Simulation mode - deletion will not be executed." msgstr "" -#: lib/pp_admintools/app/ldap.py:1282 +#: lib/pp_admintools/app/ldap.py:1290 msgid "Deletion of {dn!r} was NOT successfull - {c}: {e}" msgstr "" -#: lib/pp_admintools/app/ldap.py:1287 +#: lib/pp_admintools/app/ldap.py:1295 msgid "Deletion status: {!r}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1289 +#: lib/pp_admintools/app/ldap.py:1297 msgid "Result of deletion:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1292 +#: lib/pp_admintools/app/ldap.py:1300 msgid "Deletion of {dn!r} was NOT successful: {desc} - {msg}" msgstr "" -#: lib/pp_admintools/app/ldap.py:1296 +#: lib/pp_admintools/app/ldap.py:1304 msgid "Deletion successful." msgstr "" -#: lib/pp_admintools/app/ldap.py:1443 +#: lib/pp_admintools/app/ldap.py:1451 msgid "Reading password file {!r} ..." msgstr "Reading password file {!r} …" -#: lib/pp_admintools/app/ldap.py:1474 +#: lib/pp_admintools/app/ldap.py:1482 msgid "Could not detect RDN from DN {!r}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1478 +#: lib/pp_admintools/app/ldap.py:1486 msgid "Found RDN attribute {!r}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1484 +#: lib/pp_admintools/app/ldap.py:1492 msgid "RDN attribute {!r} will not be touched." msgstr "" -#: lib/pp_admintools/app/ldap.py:1490 lib/pp_admintools/app/ldap.py:1509 -#: lib/pp_admintools/app/ldap.py:1574 +#: lib/pp_admintools/app/ldap.py:1498 lib/pp_admintools/app/ldap.py:1517 +#: lib/pp_admintools/app/ldap.py:1582 msgid "Attribute {!r} will not be touched." msgstr "" -#: lib/pp_admintools/app/ldap.py:1543 +#: lib/pp_admintools/app/ldap.py:1551 msgid "Values to add to attribute {!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1547 +#: lib/pp_admintools/app/ldap.py:1555 msgid "Values to removed from attribute {!r}:" msgstr "" @@ -1699,39 +1747,39 @@ msgstr "" msgid "Evaluated configuration:" msgstr "" -#: lib/pp_admintools/config/ldap.py:174 +#: lib/pp_admintools/config/ldap.py:180 msgid "Invalid port {!r} for LDAP server given." msgstr "" -#: lib/pp_admintools/config/ldap.py:187 +#: lib/pp_admintools/config/ldap.py:193 msgid "An empty Base DN for LDAP searches is not allowed." msgstr "" -#: lib/pp_admintools/config/ldap.py:277 +#: lib/pp_admintools/config/ldap.py:283 msgid "Invalid production tier {!r} given." msgstr "" -#: lib/pp_admintools/config/ldap.py:332 +#: lib/pp_admintools/config/ldap.py:351 msgid "Invalid value {val!r} in section {sec!r} for a LDAP {what}." msgstr "" -#: lib/pp_admintools/config/ldap.py:401 +#: lib/pp_admintools/config/ldap.py:424 msgid "Unknown LDAP configuration key {key} found in section {sec!r}." msgstr "" -#: lib/pp_admintools/config/ldap.py:505 +#: lib/pp_admintools/config/ldap.py:528 msgid "Evaluating LDAP config ..." msgstr "Evaluating LDAP config …" -#: lib/pp_admintools/config/ldap.py:509 +#: lib/pp_admintools/config/ldap.py:532 msgid "Evaluating LDAP section {!r} ..." msgstr "Evaluating LDAP section {!r} …" -#: lib/pp_admintools/config/ldap.py:526 +#: lib/pp_admintools/config/ldap.py:549 msgid "Value {!r} for a timeout is invalid." msgstr "" -#: lib/pp_admintools/config/ldap.py:546 +#: lib/pp_admintools/config/ldap.py:569 msgid "Reading configuration of LDAP instance {!r} ..." msgstr "Reading configuration of LDAP instance {!r} …" diff --git a/locale/pp_admintools.pot b/locale/pp_admintools.pot index cbd5bba..fdd5d21 100644 --- a/locale/pp_admintools.pot +++ b/locale/pp_admintools.pot @@ -1,14 +1,14 @@ # Translations template for pp_admintools. -# Copyright (C) 2022 Frank Brehm, Digitas Pixelpark Berlin +# Copyright (C) 2023 Frank Brehm, Digitas Pixelpark Berlin # This file is distributed under the same license as the pp_admintools project. -# Frank Brehm , 2022. +# Frank Brehm , 2023. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: pp_admintools 0.9.1\n" +"Project-Id-Version: pp_admintools VERSION\n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2022-11-18 11:39+0100\n" +"POT-Creation-Date: 2023-01-06 17:42+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -25,6 +25,50 @@ msgstr "" msgid "Don't using a logfile." msgstr "" +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:83 +msgid "" +"Checking all attributes with a DN syntax ({alist}) in the given instance. The check is for the " +"DN-syntax of the attributes and whether they are referencing to existing entries in LDAP." +msgstr "" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:113 +msgid "Start checking all DN-like attributes in in LDAP instance {inst!r} ({url}) ..." +msgstr "" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:135 +msgid "Found one entry to check." +msgid_plural "Found {} entries to check." +msgstr[0] "" +msgstr[1] "" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:137 +msgid "Found no to check." +msgstr "" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:157 +msgid "Got an inconsistent entry." +msgid_plural "Got {} inconsistent entries." +msgstr[0] "" +msgstr[1] "" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:161 +msgid "There is one inconsistent attribute." +msgid_plural "There are {} inconsistent attributes." +msgstr[0] "" +msgstr[1] "" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:166 +msgid "Did not found any inconsistent entries." +msgstr "" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:174 +msgid "Checking DN-like attributes of entry {!r} ..." +msgstr "" + +#: lib/pp_admintools/app/check_ldap_dn_attributes.py:179 +msgid "Got attributes:" +msgstr "" + #: lib/pp_admintools/app/dns_deploy_zones.py:124 msgid "Generation of the BIND9 configuration file for slave zones." msgstr "" @@ -126,10 +170,10 @@ msgid "Executing: {}" msgstr "" #: lib/pp_admintools/app/dns_deploy_zones.py:456 lib/pp_admintools/app/dns_deploy_zones.py:810 -#: lib/pp_admintools/app/ldap.py:806 lib/pp_admintools/app/ldap.py:936 -#: lib/pp_admintools/app/ldap.py:989 lib/pp_admintools/app/ldap.py:1042 -#: lib/pp_admintools/app/ldap.py:1330 lib/pp_admintools/app/ldap.py:1364 -#: lib/pp_admintools/app/ldap.py:1398 lib/pp_admintools/app/ldap.py:1432 +#: lib/pp_admintools/app/ldap.py:810 lib/pp_admintools/app/ldap.py:944 +#: lib/pp_admintools/app/ldap.py:997 lib/pp_admintools/app/ldap.py:1050 +#: lib/pp_admintools/app/ldap.py:1338 lib/pp_admintools/app/ldap.py:1372 +#: lib/pp_admintools/app/ldap.py:1406 lib/pp_admintools/app/ldap.py:1440 msgid "Result:" msgstr "" @@ -296,17 +340,17 @@ msgid "The path {!r} must be an absolute path." msgstr "" #: lib/pp_admintools/app/ldap.py:123 lib/pp_admintools/app/ldap.py:284 -#: lib/pp_admintools/app/ldap.py:1446 +#: lib/pp_admintools/app/ldap.py:1454 msgid "The file {!r} does not exists." msgstr "" #: lib/pp_admintools/app/ldap.py:127 lib/pp_admintools/app/ldap.py:288 -#: lib/pp_admintools/app/ldap.py:1451 +#: lib/pp_admintools/app/ldap.py:1459 msgid "The given path {!r} exists, but is not a regular file." msgstr "" #: lib/pp_admintools/app/ldap.py:131 lib/pp_admintools/app/ldap.py:292 -#: lib/pp_admintools/app/ldap.py:1456 +#: lib/pp_admintools/app/ldap.py:1464 msgid "The given file {!r} is not readable." msgstr "" @@ -498,218 +542,222 @@ msgstr "" msgid "Disconnecting from LDAP server {!r} ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:792 lib/pp_admintools/app/ldap.py:831 +#: lib/pp_admintools/app/ldap.py:787 lib/pp_admintools/app/ldap.py:830 +msgid "Using LDAP filter: {!r}" +msgstr "" + +#: lib/pp_admintools/app/ldap.py:796 lib/pp_admintools/app/ldap.py:839 msgid "Result of searching for DNs of all entries:" msgstr "" -#: lib/pp_admintools/app/ldap.py:796 lib/pp_admintools/app/ldap.py:835 -#: lib/pp_admintools/app/ldap.py:933 lib/pp_admintools/app/ldap.py:986 -#: lib/pp_admintools/app/ldap.py:1039 lib/pp_admintools/app/ldap.py:1127 -#: lib/pp_admintools/app/ldap.py:1327 lib/pp_admintools/app/ldap.py:1361 -#: lib/pp_admintools/app/ldap.py:1395 lib/pp_admintools/app/ldap.py:1429 +#: lib/pp_admintools/app/ldap.py:800 lib/pp_admintools/app/ldap.py:843 +#: lib/pp_admintools/app/ldap.py:941 lib/pp_admintools/app/ldap.py:994 +#: lib/pp_admintools/app/ldap.py:1047 lib/pp_admintools/app/ldap.py:1135 +#: lib/pp_admintools/app/ldap.py:1335 lib/pp_admintools/app/ldap.py:1369 +#: lib/pp_admintools/app/ldap.py:1403 lib/pp_admintools/app/ldap.py:1437 msgid "Got a response entry:" msgstr "" -#: lib/pp_admintools/app/ldap.py:821 +#: lib/pp_admintools/app/ldap.py:826 msgid "Getting all Entry DNs of LDAP instance {i!r} below {b!r}." msgstr "" -#: lib/pp_admintools/app/ldap.py:857 +#: lib/pp_admintools/app/ldap.py:865 msgid "Trying to evaluate DN of user {user!r} in LDAP instance {inst} ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:862 +#: lib/pp_admintools/app/ldap.py:870 msgid "Trying to evaluate DN of user {u!r} as a mail address ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:869 +#: lib/pp_admintools/app/ldap.py:877 msgid "Trying to evaluate DN of user {u!r} as a LDAP DN ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:876 +#: lib/pp_admintools/app/ldap.py:884 msgid "Trying to evaluate DN of user {u!r} as a UID (Posix user name) ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:885 lib/pp_admintools/app/remove_ldap_user.py:290 +#: lib/pp_admintools/app/ldap.py:893 lib/pp_admintools/app/remove_ldap_user.py:290 msgid "Empty user given." msgstr "" -#: lib/pp_admintools/app/ldap.py:888 +#: lib/pp_admintools/app/ldap.py:896 msgid "Trying to evaluate DN of user {u!r} as a CN ({c}) ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:918 lib/pp_admintools/app/ldap.py:971 -#: lib/pp_admintools/app/ldap.py:1024 lib/pp_admintools/app/ldap.py:1315 -#: lib/pp_admintools/app/ldap.py:1349 lib/pp_admintools/app/ldap.py:1383 -#: lib/pp_admintools/app/ldap.py:1417 +#: lib/pp_admintools/app/ldap.py:926 lib/pp_admintools/app/ldap.py:979 +#: lib/pp_admintools/app/ldap.py:1032 lib/pp_admintools/app/ldap.py:1323 +#: lib/pp_admintools/app/ldap.py:1357 lib/pp_admintools/app/ldap.py:1391 +#: lib/pp_admintools/app/ldap.py:1425 msgid "Searching in {uri}/{bdn} with filter: {fltr}" msgstr "" -#: lib/pp_admintools/app/ldap.py:929 +#: lib/pp_admintools/app/ldap.py:937 msgid "Result of searching for mail address {m!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:940 +#: lib/pp_admintools/app/ldap.py:948 msgid "User with mail address {m!r} not found in {uri}/{bdn}." msgstr "" -#: lib/pp_admintools/app/ldap.py:982 +#: lib/pp_admintools/app/ldap.py:990 msgid "Result of searching for uid {u!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:993 +#: lib/pp_admintools/app/ldap.py:1001 msgid "User with uid {u!r} not found in {uri}/{bdn}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1035 +#: lib/pp_admintools/app/ldap.py:1043 msgid "Result of searching for CN {cn!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1046 +#: lib/pp_admintools/app/ldap.py:1054 msgid "User with cn {cn!r} not found in {uri}/{bdn}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1063 lib/pp_admintools/app/set_ldap_password.py:411 +#: lib/pp_admintools/app/ldap.py:1071 lib/pp_admintools/app/set_ldap_password.py:411 msgid "User with DN {dn!r} not found in {uri}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1081 +#: lib/pp_admintools/app/ldap.py:1089 msgid "ObjectClasses of {dn!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1091 +#: lib/pp_admintools/app/ldap.py:1099 msgid "Entry {dn!r} in {uri} seems not to be an account." msgstr "" -#: lib/pp_admintools/app/ldap.py:1113 +#: lib/pp_admintools/app/ldap.py:1121 msgid "Searching DN {dn!r} in {uri}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1123 +#: lib/pp_admintools/app/ldap.py:1131 msgid "Result of searching for DN {dn!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1131 +#: lib/pp_admintools/app/ldap.py:1139 msgid "Entry with DN {dn!r} not found in {uri}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1176 +#: lib/pp_admintools/app/ldap.py:1184 msgid "Creating entry {dn!r} on {uri}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1182 +#: lib/pp_admintools/app/ldap.py:1190 msgid "Simulation mode - entry will not be created." msgstr "" -#: lib/pp_admintools/app/ldap.py:1189 +#: lib/pp_admintools/app/ldap.py:1197 msgid "Creation of entry {dn!r} was NOT successfull - {c}: {e}" msgstr "" -#: lib/pp_admintools/app/ldap.py:1204 +#: lib/pp_admintools/app/ldap.py:1212 msgid "Creation status: {!r}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1206 +#: lib/pp_admintools/app/ldap.py:1214 msgid "Result of creating:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1209 +#: lib/pp_admintools/app/ldap.py:1217 msgid "Creation of entry {dn!r} was NOT successful: {desc} - {msg}" msgstr "" -#: lib/pp_admintools/app/ldap.py:1215 +#: lib/pp_admintools/app/ldap.py:1223 msgid "Creation successful." msgstr "" -#: lib/pp_admintools/app/ldap.py:1226 +#: lib/pp_admintools/app/ldap.py:1234 msgid "Applying changes on {uri} to DN {dn!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1231 +#: lib/pp_admintools/app/ldap.py:1239 msgid "Simulation mode - changes are not applied." msgstr "" -#: lib/pp_admintools/app/ldap.py:1237 +#: lib/pp_admintools/app/ldap.py:1245 msgid "Modification of {dn!r} was NOT successfull - {c}: {e}" msgstr "" -#: lib/pp_admintools/app/ldap.py:1239 lib/pp_admintools/app/ldap.py:1258 +#: lib/pp_admintools/app/ldap.py:1247 lib/pp_admintools/app/ldap.py:1266 #: lib/pp_admintools/app/remove_ldap_user.py:417 lib/pp_admintools/app/remove_ldap_user.py:444 #: lib/pp_admintools/app/remove_ldap_user.py:471 lib/pp_admintools/app/remove_ldap_user.py:502 #: lib/pp_admintools/app/remove_ldap_user.py:533 lib/pp_admintools/app/set_ldap_password.py:521 msgid "Changes:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1251 +#: lib/pp_admintools/app/ldap.py:1259 msgid "Modification status: {!r}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1253 +#: lib/pp_admintools/app/ldap.py:1261 msgid "Result of modifying:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1256 +#: lib/pp_admintools/app/ldap.py:1264 msgid "Modification of {dn!r} was NOT successful: {desc} - {msg}" msgstr "" -#: lib/pp_admintools/app/ldap.py:1261 +#: lib/pp_admintools/app/ldap.py:1269 msgid "Modification successful." msgstr "" -#: lib/pp_admintools/app/ldap.py:1271 +#: lib/pp_admintools/app/ldap.py:1279 msgid "Deleting LDAP entry {dn!r} on {uri} ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:1276 +#: lib/pp_admintools/app/ldap.py:1284 msgid "Simulation mode - deletion will not be executed." msgstr "" -#: lib/pp_admintools/app/ldap.py:1282 +#: lib/pp_admintools/app/ldap.py:1290 msgid "Deletion of {dn!r} was NOT successfull - {c}: {e}" msgstr "" -#: lib/pp_admintools/app/ldap.py:1287 +#: lib/pp_admintools/app/ldap.py:1295 msgid "Deletion status: {!r}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1289 +#: lib/pp_admintools/app/ldap.py:1297 msgid "Result of deletion:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1292 +#: lib/pp_admintools/app/ldap.py:1300 msgid "Deletion of {dn!r} was NOT successful: {desc} - {msg}" msgstr "" -#: lib/pp_admintools/app/ldap.py:1296 +#: lib/pp_admintools/app/ldap.py:1304 msgid "Deletion successful." msgstr "" -#: lib/pp_admintools/app/ldap.py:1443 +#: lib/pp_admintools/app/ldap.py:1451 msgid "Reading password file {!r} ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:1474 +#: lib/pp_admintools/app/ldap.py:1482 msgid "Could not detect RDN from DN {!r}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1478 +#: lib/pp_admintools/app/ldap.py:1486 msgid "Found RDN attribute {!r}." msgstr "" -#: lib/pp_admintools/app/ldap.py:1484 +#: lib/pp_admintools/app/ldap.py:1492 msgid "RDN attribute {!r} will not be touched." msgstr "" -#: lib/pp_admintools/app/ldap.py:1490 lib/pp_admintools/app/ldap.py:1509 -#: lib/pp_admintools/app/ldap.py:1574 +#: lib/pp_admintools/app/ldap.py:1498 lib/pp_admintools/app/ldap.py:1517 +#: lib/pp_admintools/app/ldap.py:1582 msgid "Attribute {!r} will not be touched." msgstr "" -#: lib/pp_admintools/app/ldap.py:1543 +#: lib/pp_admintools/app/ldap.py:1551 msgid "Values to add to attribute {!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:1547 +#: lib/pp_admintools/app/ldap.py:1555 msgid "Values to removed from attribute {!r}:" msgstr "" @@ -1698,39 +1746,39 @@ msgstr "" msgid "Evaluated configuration:" msgstr "" -#: lib/pp_admintools/config/ldap.py:174 +#: lib/pp_admintools/config/ldap.py:180 msgid "Invalid port {!r} for LDAP server given." msgstr "" -#: lib/pp_admintools/config/ldap.py:187 +#: lib/pp_admintools/config/ldap.py:193 msgid "An empty Base DN for LDAP searches is not allowed." msgstr "" -#: lib/pp_admintools/config/ldap.py:277 +#: lib/pp_admintools/config/ldap.py:283 msgid "Invalid production tier {!r} given." msgstr "" -#: lib/pp_admintools/config/ldap.py:332 +#: lib/pp_admintools/config/ldap.py:351 msgid "Invalid value {val!r} in section {sec!r} for a LDAP {what}." msgstr "" -#: lib/pp_admintools/config/ldap.py:401 +#: lib/pp_admintools/config/ldap.py:424 msgid "Unknown LDAP configuration key {key} found in section {sec!r}." msgstr "" -#: lib/pp_admintools/config/ldap.py:505 +#: lib/pp_admintools/config/ldap.py:528 msgid "Evaluating LDAP config ..." msgstr "" -#: lib/pp_admintools/config/ldap.py:509 +#: lib/pp_admintools/config/ldap.py:532 msgid "Evaluating LDAP section {!r} ..." msgstr "" -#: lib/pp_admintools/config/ldap.py:526 +#: lib/pp_admintools/config/ldap.py:549 msgid "Value {!r} for a timeout is invalid." msgstr "" -#: lib/pp_admintools/config/ldap.py:546 +#: lib/pp_admintools/config/ldap.py:569 msgid "Reading configuration of LDAP instance {!r} ..." msgstr ""