From a73f8f8de1fb0ea35ee4601ceb96905df3b720c5 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 9 Sep 2022 12:04:18 +0200 Subject: [PATCH] Translations --- lib/pp_admintools/app/remove_ldap_user.py | 18 +- locale/de_DE/LC_MESSAGES/pp_admintools.po | 275 ++++++++++++---------- locale/en_US/LC_MESSAGES/pp_admintools.po | 273 +++++++++++---------- locale/pp_admintools.pot | 265 ++++++++++++--------- 4 files changed, 461 insertions(+), 370 deletions(-) diff --git a/lib/pp_admintools/app/remove_ldap_user.py b/lib/pp_admintools/app/remove_ldap_user.py index f4c52c5..d90c562 100644 --- a/lib/pp_admintools/app/remove_ldap_user.py +++ b/lib/pp_admintools/app/remove_ldap_user.py @@ -25,7 +25,7 @@ from . import AbortAppError, TimeoutOnPromptError from .ldap import LdapAppError, FatalLDAPError from .ldap import BaseLdapApplication -__version__ = '0.5.1' +__version__ = '0.5.2' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -396,8 +396,8 @@ class RemoveLdapUserApplication(BaseLdapApplication): group_dns = self.get_group_memberships(inst, dn) if not group_dns: - msg = _("Did not found any group memberships of {dn!r} in {inst}.".format( - dn=dn, inst=connect_info.url)) + msg = _("Did not found any group memberships of {dn!r} in {inst}.").format( + dn=dn, inst=connect_info.url) LOG.debug(msg) return True @@ -423,8 +423,8 @@ class RemoveLdapUserApplication(BaseLdapApplication): group_dns = self.get_unique_group_memberships(inst, dn) if not group_dns: - msg = _("Did not found any unique group memberships of {dn!r} in {inst}.".format( - dn=dn, inst=connect_info.url)) + msg = _("Did not found any unique group memberships of {dn!r} in {inst}.").format( + dn=dn, inst=connect_info.url) LOG.debug(msg) return True @@ -454,8 +454,8 @@ class RemoveLdapUserApplication(BaseLdapApplication): group_dns = self.get_posix_group_memberships(inst, uid) if not group_dns: - msg = _("Did not found any POSIX group memberships of {uid!r} in {inst}.".format( - uid=uid, inst=connect_info.url)) + msg = _("Did not found any POSIX group memberships of {uid!r} in {inst}.").format( + uid=uid, inst=connect_info.url) LOG.debug(msg) return True @@ -485,8 +485,8 @@ class RemoveLdapUserApplication(BaseLdapApplication): group_dns = self.get_sudo_group_memberships(inst, uid) if not group_dns: - msg = _("Did not found any sudo group memberships of {uid!r} in {inst}.".format( - uid=uid, inst=connect_info.url)) + msg = _("Did not found any sudo group memberships of {uid!r} in {inst}.").format( + uid=uid, inst=connect_info.url) LOG.debug(msg) return True diff --git a/locale/de_DE/LC_MESSAGES/pp_admintools.po b/locale/de_DE/LC_MESSAGES/pp_admintools.po index b369f5b..6c91926 100644 --- a/locale/de_DE/LC_MESSAGES/pp_admintools.po +++ b/locale/de_DE/LC_MESSAGES/pp_admintools.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: pp_admintools 0.9.1\n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2022-09-08 17:25+0200\n" -"PO-Revision-Date: 2022-09-08 17:30+0200\n" +"POT-Creation-Date: 2022-09-09 11:58+0200\n" +"PO-Revision-Date: 2022-09-09 11:45+0200\n" "Last-Translator: Frank Brehm \n" "Language: de_DE\n" "Language-Team: de_DE \n" @@ -30,7 +30,7 @@ msgstr "Ein iTimeout muss größer als Null und kleiner oder gleich {} sein." msgid "Wrong timeout {!r}:" msgstr "Ungültiger Timeout {!r}:" -#: lib/pp_admintools/app/__init__.py:125 lib/pp_admintools/app/remove_ldap_user.py:237 +#: lib/pp_admintools/app/__init__.py:125 lib/pp_admintools/app/remove_ldap_user.py:238 msgid "yes" msgstr "ja" @@ -154,10 +154,10 @@ msgid "Executing: {}" msgstr "Führe aus: {}" #: lib/pp_admintools/app/dns_deploy_zones.py:447 lib/pp_admintools/app/dns_deploy_zones.py:801 -#: lib/pp_admintools/app/ldap.py:685 lib/pp_admintools/app/ldap.py:738 -#: lib/pp_admintools/app/ldap.py:791 lib/pp_admintools/app/ldap.py:995 -#: lib/pp_admintools/app/ldap.py:1029 lib/pp_admintools/app/ldap.py:1063 -#: lib/pp_admintools/app/ldap.py:1097 +#: lib/pp_admintools/app/ldap.py:691 lib/pp_admintools/app/ldap.py:744 +#: lib/pp_admintools/app/ldap.py:797 lib/pp_admintools/app/ldap.py:1026 +#: lib/pp_admintools/app/ldap.py:1060 lib/pp_admintools/app/ldap.py:1094 +#: lib/pp_admintools/app/ldap.py:1128 msgid "Result:" msgstr "Ergebnis:" @@ -321,88 +321,88 @@ msgstr "Neu starten {} …" msgid "Reloading {} ..." msgstr "Reload {} …" -#: lib/pp_admintools/app/ldap.py:100 lib/pp_admintools/app/ldap.py:203 +#: lib/pp_admintools/app/ldap.py:106 lib/pp_admintools/app/ldap.py:209 msgid "The path {!r} must be an absolute path." msgstr "Der Pfad {!r} muss ein absoluter Pfad sein." -#: lib/pp_admintools/app/ldap.py:106 lib/pp_admintools/app/ldap.py:207 +#: lib/pp_admintools/app/ldap.py:112 lib/pp_admintools/app/ldap.py:213 msgid "The file {!r} does not exists." msgstr "Die Datei {!r} existiert nicht." -#: lib/pp_admintools/app/ldap.py:110 lib/pp_admintools/app/ldap.py:211 +#: lib/pp_admintools/app/ldap.py:116 lib/pp_admintools/app/ldap.py:217 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:114 lib/pp_admintools/app/ldap.py:215 +#: lib/pp_admintools/app/ldap.py:120 lib/pp_admintools/app/ldap.py:221 msgid "The given file {!r} is not readable." msgstr "Die angegebene Datei {} ist nicht lesbar." -#: lib/pp_admintools/app/ldap.py:135 +#: lib/pp_admintools/app/ldap.py:141 msgid "a port number must be greater than zero and less or equal to {}." msgstr "ein Port muss größer als Null und kleiner oder gleich {} sein." -#: lib/pp_admintools/app/ldap.py:140 +#: lib/pp_admintools/app/ldap.py:146 msgid "Wrong port number {!r}:" msgstr "Ungültige Portnummer {!r}." -#: lib/pp_admintools/app/ldap.py:250 +#: lib/pp_admintools/app/ldap.py:256 msgid "LDAP options" msgstr "LDAP-Optionen" -#: lib/pp_admintools/app/ldap.py:252 +#: lib/pp_admintools/app/ldap.py:258 msgid "Options for the default LDAP connection" msgstr "Optionen für die Vorgabe-LDAP-Verbindung" -#: lib/pp_admintools/app/ldap.py:254 +#: lib/pp_admintools/app/ldap.py:260 msgid "Options fo LDAP connections" msgstr "Optionen für die LDAP-Verbindungen" -#: lib/pp_admintools/app/ldap.py:261 lib/pp_admintools/app/remove_ldap_user.py:237 +#: lib/pp_admintools/app/ldap.py:267 lib/pp_admintools/app/remove_ldap_user.py:238 msgid "No" msgstr "Nein" -#: lib/pp_admintools/app/ldap.py:263 +#: lib/pp_admintools/app/ldap.py:269 msgid "Yes" msgstr "Ja" -#: lib/pp_admintools/app/ldap.py:269 +#: lib/pp_admintools/app/ldap.py:275 msgid "HOST" msgstr "HOST" -#: lib/pp_admintools/app/ldap.py:270 +#: lib/pp_admintools/app/ldap.py:276 msgid "Hostname or address of the LDAP server to use. Default: {!r}" msgstr "Der Hostname oder die Adresse des zu verwendenden LDAP-Servers. Vorgabe: {!r}" -#: lib/pp_admintools/app/ldap.py:277 +#: lib/pp_admintools/app/ldap.py:283 msgid "Use ldaps to connect to the LDAP server. Default: {}" msgstr "Soll ldaps zum Verbinden mit dem LDAP-Server verwendet werden? Vorgabe: {}." -#: lib/pp_admintools/app/ldap.py:282 lib/pp_admintools/app/mail.py:261 +#: lib/pp_admintools/app/ldap.py:288 lib/pp_admintools/app/mail.py:261 #: lib/pp_admintools/app/pdns.py:275 msgid "PORT" msgstr "PORT" -#: lib/pp_admintools/app/ldap.py:284 +#: lib/pp_admintools/app/ldap.py:290 msgid "The port number to connect to the LDAP server. Default: {}" msgstr "Welcher Port soll verwendet werden, um sich mit dem LDAP-Server zu verbinden? Vorgabe: {}." -#: lib/pp_admintools/app/ldap.py:290 +#: lib/pp_admintools/app/ldap.py:296 msgid "The base DN used as the root for the LDAP searches. Default: {!r}" msgstr "Die Basis-DN, die als Ausgangspunt bei LDAP-Suchen verwendet werden soll. Vorgabe: {!r}" -#: lib/pp_admintools/app/ldap.py:297 +#: lib/pp_admintools/app/ldap.py:303 msgid "The Bind DN to use to connect to the LDAP server. Default: {!r}" msgstr "Die Bind-DN, die zur Verbindung mit dem LDAP-Server verwendet werden soll. Vorgabe: {!r}" -#: lib/pp_admintools/app/ldap.py:305 +#: lib/pp_admintools/app/ldap.py:311 msgid "PASSWORD" msgstr "PASSWORT" -#: lib/pp_admintools/app/ldap.py:306 +#: lib/pp_admintools/app/ldap.py:312 msgid "Use PASSWORD as the password for simple LDAP authentication." msgstr "Verwende PASSWORT als Passwort für die einfache Authentifizierung." -#: lib/pp_admintools/app/ldap.py:311 +#: lib/pp_admintools/app/ldap.py:317 msgid "" "Prompt for simple LDAP authentication. This is used instead of specifying the password on the " "command line." @@ -410,19 +410,19 @@ msgstr "" "Nachfrage nach dem Passwort für eine einfache LDAP-Authentifizierung. Dies wird anstelle der " "Angabe des Passwortes an der Kommandozeile verwendet." -#: lib/pp_admintools/app/ldap.py:317 +#: lib/pp_admintools/app/ldap.py:323 msgid "PASSWORD_FILE" msgstr "PASSWORT_DATEI" -#: lib/pp_admintools/app/ldap.py:319 +#: lib/pp_admintools/app/ldap.py:325 msgid "Use contents of PASSWORD_FILE as the password for simple authentication." msgstr "Verwende den Inhalt der PASSWORT_DATEI als das Passort für eine einfache LDAP-Authentifizierung." -#: lib/pp_admintools/app/ldap.py:327 lib/pp_admintools/app/pdns.py:249 +#: lib/pp_admintools/app/ldap.py:333 lib/pp_admintools/app/pdns.py:249 msgid "INSTANCE" msgstr "INSTANZ" -#: lib/pp_admintools/app/ldap.py:330 +#: lib/pp_admintools/app/ldap.py:336 msgid "" "The LDAP instance (LDAP cluster) from configuration, where to execute this script. If not given," " then the instance {!r} will be used." @@ -430,7 +430,7 @@ msgstr "" "Die LDAP-Instanz (das LDAP-Cluster) aus der Konfiguration, in welcher das Skript ausgeführt " "werden soll. Wenn nicht angegeben, wird die Instanz {!r} verwendet." -#: lib/pp_admintools/app/ldap.py:333 +#: lib/pp_admintools/app/ldap.py:339 msgid "" "The LDAP instance (LDAP cluster) from configuration, where to execute this script. It is " "possible to give here the value {val_all!r}, then all found LDAP instances except {default!r} " @@ -444,208 +444,226 @@ msgstr "" "diesem Fall werden alle LDAP-Instanzen ausgegeben, und das Skript beendet sich. Wenn nichts " "angegeben wird, wird die Instanz {default!r} verwendet." -#: lib/pp_admintools/app/ldap.py:352 +#: lib/pp_admintools/app/ldap.py:358 msgid "SECONDS" msgstr "SEKUNDEN" -#: lib/pp_admintools/app/ldap.py:354 +#: lib/pp_admintools/app/ldap.py:360 msgid "Using the given timeout in seconds for all LDAP operations. Default: {}" msgstr "Der Timeout in Sekunden für alle LDAP-Operationen. Vorgabe: {}." -#: lib/pp_admintools/app/ldap.py:386 +#: lib/pp_admintools/app/ldap.py:392 msgid "Checking given instances." msgstr "Überprüfe die übergebenen Instanzen." -#: lib/pp_admintools/app/ldap.py:390 +#: lib/pp_admintools/app/ldap.py:396 msgid "Given insts:" msgstr "Übergebene Instanzen:" -#: lib/pp_admintools/app/ldap.py:427 +#: lib/pp_admintools/app/ldap.py:433 msgid "Configured LDAP instances:" msgstr "Konfigurierte LDAP-Instanzen:" -#: lib/pp_admintools/app/ldap.py:441 +#: lib/pp_admintools/app/ldap.py:447 msgid "Verifying given instances ..." msgstr "Überprüfene Instanzen …" -#: lib/pp_admintools/app/ldap.py:459 +#: lib/pp_admintools/app/ldap.py:465 msgid "LDAP instance {!r} not found in configuration." msgstr "Die LDAP-Instanz {!r} wurde nicht in der Konfiguration gefunden." -#: lib/pp_admintools/app/ldap.py:467 +#: lib/pp_admintools/app/ldap.py:473 msgid "LDAP instances to use:" msgstr "Verwendete LDAP-Instanzen:" -#: lib/pp_admintools/app/ldap.py:516 +#: lib/pp_admintools/app/ldap.py:522 msgid "Preparations ..." msgstr "Vorbereitungen …" -#: lib/pp_admintools/app/ldap.py:519 +#: lib/pp_admintools/app/ldap.py:525 msgid "Open all necessary LDAP connections ..." msgstr "Öffne alle notwendigen LDAP-Verbindungen …" -#: lib/pp_admintools/app/ldap.py:530 +#: lib/pp_admintools/app/ldap.py:536 msgid "Connecting to LDAP server {} ..." msgstr "Verbinde mit LDAP-Server {} …" -#: lib/pp_admintools/app/ldap.py:545 +#: lib/pp_admintools/app/ldap.py:551 msgid "Connect options to server {!r}:" msgstr "Verbindungs-Optionen zu Server {!r}:" -#: lib/pp_admintools/app/ldap.py:553 +#: lib/pp_admintools/app/ldap.py:559 msgid "LDAP server {s}: {re}" msgstr "LDAP-Server {s}: {re}" -#: lib/pp_admintools/app/ldap.py:561 +#: lib/pp_admintools/app/ldap.py:567 msgid "Info about LDAP server {}:" msgstr "Informationen zu LDAP-Server {}:" -#: lib/pp_admintools/app/ldap.py:568 +#: lib/pp_admintools/app/ldap.py:574 msgid "Finishing ..." msgstr "Beende …" -#: lib/pp_admintools/app/ldap.py:577 +#: lib/pp_admintools/app/ldap.py:583 msgid "Disconnecting from all remaining LDAP instances ..." msgstr "Trenne Verbindung zu allen verbleibenden LDAP-Instanzen …" -#: lib/pp_admintools/app/ldap.py:590 +#: lib/pp_admintools/app/ldap.py:596 msgid "Unbinding from LDAP server {!r} ..." msgstr "Trenne Bindung zu LDAP-Server {!r} …" -#: lib/pp_admintools/app/ldap.py:597 +#: lib/pp_admintools/app/ldap.py:603 msgid "Disconnecting from LDAP server {!r} ..." msgstr "Trenne Verbindung zu LDAP-Server {!r} …" -#: lib/pp_admintools/app/ldap.py:606 +#: lib/pp_admintools/app/ldap.py:612 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:611 +#: lib/pp_admintools/app/ldap.py:617 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:618 +#: lib/pp_admintools/app/ldap.py:624 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:625 +#: lib/pp_admintools/app/ldap.py:631 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:634 lib/pp_admintools/app/remove_ldap_user.py:257 +#: lib/pp_admintools/app/ldap.py:640 lib/pp_admintools/app/remove_ldap_user.py:258 msgid "Empty user given." msgstr "Leere Nutzername übergeben." -#: lib/pp_admintools/app/ldap.py:637 +#: lib/pp_admintools/app/ldap.py:643 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:667 lib/pp_admintools/app/ldap.py:720 -#: lib/pp_admintools/app/ldap.py:773 lib/pp_admintools/app/ldap.py:980 -#: lib/pp_admintools/app/ldap.py:1014 lib/pp_admintools/app/ldap.py:1048 -#: lib/pp_admintools/app/ldap.py:1082 +#: lib/pp_admintools/app/ldap.py:673 lib/pp_admintools/app/ldap.py:726 +#: lib/pp_admintools/app/ldap.py:779 lib/pp_admintools/app/ldap.py:1011 +#: lib/pp_admintools/app/ldap.py:1045 lib/pp_admintools/app/ldap.py:1079 +#: lib/pp_admintools/app/ldap.py:1113 msgid "Searching in {uri}/{bdn} with filter: {fltr}" msgstr "Suche in {uri}/{bdn} mit dem Filter: {fltr}" -#: lib/pp_admintools/app/ldap.py:678 +#: lib/pp_admintools/app/ldap.py:684 msgid "Result of searching for mail address {m!r}:" msgstr "Ergebnis der Suche nach der Mailadresse {m!r}:" -#: lib/pp_admintools/app/ldap.py:682 lib/pp_admintools/app/ldap.py:735 -#: lib/pp_admintools/app/ldap.py:788 lib/pp_admintools/app/ldap.py:876 -#: lib/pp_admintools/app/ldap.py:992 lib/pp_admintools/app/ldap.py:1026 -#: lib/pp_admintools/app/ldap.py:1060 lib/pp_admintools/app/ldap.py:1094 +#: lib/pp_admintools/app/ldap.py:688 lib/pp_admintools/app/ldap.py:741 +#: lib/pp_admintools/app/ldap.py:794 lib/pp_admintools/app/ldap.py:882 +#: lib/pp_admintools/app/ldap.py:1023 lib/pp_admintools/app/ldap.py:1057 +#: lib/pp_admintools/app/ldap.py:1091 lib/pp_admintools/app/ldap.py:1125 msgid "Got a response entry:" msgstr "Erhaltener Antwort-Eintrag:" -#: lib/pp_admintools/app/ldap.py:689 +#: lib/pp_admintools/app/ldap.py:695 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:731 +#: lib/pp_admintools/app/ldap.py:737 msgid "Result of searching for uid {u!r}:" msgstr "Ergebnis der Suche nach UID {u!r}:" -#: lib/pp_admintools/app/ldap.py:742 +#: lib/pp_admintools/app/ldap.py:748 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:784 +#: lib/pp_admintools/app/ldap.py:790 msgid "Result of searching for CN {cn!r}:" msgstr "Ergebnis der Suche nach CN {cn!r}:" -#: lib/pp_admintools/app/ldap.py:795 +#: lib/pp_admintools/app/ldap.py:801 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:812 +#: lib/pp_admintools/app/ldap.py:818 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:830 +#: lib/pp_admintools/app/ldap.py:836 msgid "ObjectClasses of {dn!r}:" msgstr "ObjectClasses von {dn!r}:" -#: lib/pp_admintools/app/ldap.py:840 +#: lib/pp_admintools/app/ldap.py:846 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:862 +#: lib/pp_admintools/app/ldap.py:868 msgid "Searching DN {dn!r} in {uri}." msgstr "Suche DN {dn!r} in {uri}." -#: lib/pp_admintools/app/ldap.py:872 +#: lib/pp_admintools/app/ldap.py:878 msgid "Result of searching for DN {dn!r}:" msgstr "Ergebnis der Suche nach dem DN {dn!r}:" -#: lib/pp_admintools/app/ldap.py:880 +#: lib/pp_admintools/app/ldap.py:886 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:920 +#: lib/pp_admintools/app/ldap.py:926 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:925 +#: lib/pp_admintools/app/ldap.py:931 msgid "Simulation mode - changes are not applied." msgstr "Simulationsmodus - hier wird jetzt nichts geändert." -#: lib/pp_admintools/app/ldap.py:931 +#: lib/pp_admintools/app/ldap.py:937 msgid "Modification NOT successfull - {c}: {e}" msgstr "Die Änderung war NICHT erfolgreich - {c}: {e}" -#: lib/pp_admintools/app/ldap.py:932 +#: lib/pp_admintools/app/ldap.py:938 lib/pp_admintools/app/remove_ldap_user.py:385 +#: lib/pp_admintools/app/remove_ldap_user.py:412 lib/pp_admintools/app/remove_ldap_user.py:439 +#: lib/pp_admintools/app/remove_ldap_user.py:470 lib/pp_admintools/app/remove_ldap_user.py:501 msgid "Changes:" msgstr "Änderungen:" -#: lib/pp_admintools/app/ldap.py:934 -msgid "Modification successful." -msgstr "Die Änderung war erfolgreich." +#: lib/pp_admintools/app/ldap.py:950 +msgid "Modification status: {!r}." +msgstr "Änderungsstatus: {!r}." -#: lib/pp_admintools/app/ldap.py:936 +#: lib/pp_admintools/app/ldap.py:952 msgid "Result of modifying:" msgstr "Ergebnis der Änderung:" -#: lib/pp_admintools/app/ldap.py:946 +#: lib/pp_admintools/app/ldap.py:955 +msgid "Modification NOT successful: {desc} - {msg}" +msgstr "Die Änderung war NICHT erfolgreich - {desc}: {msg}" + +#: lib/pp_admintools/app/ldap.py:959 +msgid "Modification successful." +msgstr "Die Änderung war erfolgreich." + +#: lib/pp_admintools/app/ldap.py:968 msgid "Deleting LDAP entry {dn!r} on {uri} ..." msgstr "Lösche LDAP-Eintrag {dn!r} in {uri} …" -#: lib/pp_admintools/app/ldap.py:951 +#: lib/pp_admintools/app/ldap.py:973 msgid "Simulation mode - deletion will not be executed." msgstr "Simulationsmodus - hier wird jetzt nichts gelöscht." -#: lib/pp_admintools/app/ldap.py:957 +#: lib/pp_admintools/app/ldap.py:979 msgid "Deletion NOT successfull - {c}: {e}" msgstr "Die Löschung war NICHT erfolgreich - {c}: {e}" -#: lib/pp_admintools/app/ldap.py:959 -msgid "Deletion successful." -msgstr "Die Löschung war erfolgreich." +#: lib/pp_admintools/app/ldap.py:983 +msgid "Deletion status: {!r}." +msgstr "Löschstatus: {!r}" -#: lib/pp_admintools/app/ldap.py:961 +#: lib/pp_admintools/app/ldap.py:985 msgid "Result of deletion:" msgstr "Ergebnis der Löschung:" +#: lib/pp_admintools/app/ldap.py:988 +msgid "Deletion NOT successful: {desc} - {msg}" +msgstr "Die Löschung war NICHT erfolgreich - {desc}: {msg}" + +#: lib/pp_admintools/app/ldap.py:992 +msgid "Deletion successful." +msgstr "Die Löschung war erfolgreich." + #: lib/pp_admintools/app/mail.py:103 msgid "Got invalid SMTP port number {!r}." msgstr "Ungültige SMTP-Port-Nummer {!r} erhalten." @@ -908,104 +926,117 @@ msgstr "Beginne Deaktivierung der Nutzereinträge …" msgid "Start removing user entries ..." msgstr "Beginne Löschung der Nutzereinträge …" -#: lib/pp_admintools/app/remove_ldap_user.py:205 +#: lib/pp_admintools/app/remove_ldap_user.py:206 msgid "Do you really want to deactivate the following users?" msgstr "Möchten Sie die folgenden Nutzer wirklich deaktivieren?" -#: lib/pp_admintools/app/remove_ldap_user.py:207 +#: lib/pp_admintools/app/remove_ldap_user.py:208 msgid "Do you really want to remove the following users?" msgstr "Möchten Sie die folgenden Nutzer wirklich löschen?" -#: lib/pp_admintools/app/remove_ldap_user.py:233 +#: lib/pp_admintools/app/remove_ldap_user.py:234 msgid "Deactivate [{yes}/{no}]?" msgstr "Deaktivieren [{yes}/{no}]?" -#: lib/pp_admintools/app/remove_ldap_user.py:235 +#: lib/pp_admintools/app/remove_ldap_user.py:236 msgid "Remove [{yes}/{no}]?" msgstr "Löschen [{yes}/{no}]?" -#: lib/pp_admintools/app/remove_ldap_user.py:242 +#: lib/pp_admintools/app/remove_ldap_user.py:243 msgid "Abort deactivating by {cls}: {e}" msgstr "Abbruch der Deaktivierung durch {cls}: {e}" -#: lib/pp_admintools/app/remove_ldap_user.py:244 +#: lib/pp_admintools/app/remove_ldap_user.py:245 msgid "Abort removing by {cls}: {e}" msgstr "Abbruch des Löschens durch {cls}: {e}" -#: lib/pp_admintools/app/remove_ldap_user.py:253 +#: lib/pp_admintools/app/remove_ldap_user.py:254 msgid "Evaluating DNs of the user {!r} to remove ..." msgstr "Ermitteln der DNs des Nutzers {!r} zum Löschen …" -#: lib/pp_admintools/app/remove_ldap_user.py:267 +#: lib/pp_admintools/app/remove_ldap_user.py:268 msgid "Got DN {dn!r} for user {user!r} in LDAP instance {inst}." msgstr "Habe DN {dn!r} für den Nutzer {user!r} in der LDAP-Instanz {inst} ermittelt." -#: lib/pp_admintools/app/remove_ldap_user.py:274 +#: lib/pp_admintools/app/remove_ldap_user.py:275 msgid "Found {nr} entries for user {u!r} in LDAP instance {i}." msgstr "Fand {nr} Einträge für den Nutzer {u!r} in der LDAP-Instanz {i}." -#: lib/pp_admintools/app/remove_ldap_user.py:286 +#: lib/pp_admintools/app/remove_ldap_user.py:287 msgid "Did not found user {user!r} in LDAP instance {inst}." msgstr "Der Nutzer {user!r} wurde nicht in der LDAP-Instanz {inst} gefunden." -#: lib/pp_admintools/app/remove_ldap_user.py:295 +#: lib/pp_admintools/app/remove_ldap_user.py:296 msgid "Deactivating all given users from {} ..." msgstr "Deaktivieren aller übergebenen Nutzer in {} …" -#: lib/pp_admintools/app/remove_ldap_user.py:297 +#: lib/pp_admintools/app/remove_ldap_user.py:298 msgid "Removing all given users from {} ..." msgstr "Lösche alle übergebenen Nutzer in {} …" -#: lib/pp_admintools/app/remove_ldap_user.py:309 +#: lib/pp_admintools/app/remove_ldap_user.py:313 msgid "Deactivating user {dn!r} from {inst} ..." msgstr "Deaktivieren von Nutzer {dn!r} in {inst} …" -#: lib/pp_admintools/app/remove_ldap_user.py:312 +#: lib/pp_admintools/app/remove_ldap_user.py:316 msgid "Removing user {dn!r} from {inst} ..." msgstr "Lösche Nutzer {dn!r} in {inst} …" -#: lib/pp_admintools/app/remove_ldap_user.py:318 +#: lib/pp_admintools/app/remove_ldap_user.py:322 msgid "Attributes of {!r}:" msgstr "Attribute von {!r}:" -#: lib/pp_admintools/app/remove_ldap_user.py:342 -msgid "User {!r} is a mail user." -msgstr "Der Nutzer {!r} ist ein Mail-Nutzer." +#: lib/pp_admintools/app/remove_ldap_user.py:343 +msgid "{c} on removing user {dn!r}: {e}" +msgstr "{c} beim Löschen des Nutzers {dn!r}: {e}" -#: lib/pp_admintools/app/remove_ldap_user.py:344 -msgid "User {!r} is not a mail user." -msgstr "Der Nutzer {!r} ist kein Mail-Nutzer." +#: lib/pp_admintools/app/remove_ldap_user.py:349 +msgid "User {dn!r} successful deactivated on {inst}." +msgstr "Der Nutzer {dn!r} wurde erfolgreich auf {inst} deaktiviert." -#: lib/pp_admintools/app/remove_ldap_user.py:357 +#: lib/pp_admintools/app/remove_ldap_user.py:352 +msgid "User {dn!r} successful removed from {inst}." +msgstr "Der Nutzer {dn!r} wurde erfolgreich von {inst} gelöscht." + +#: lib/pp_admintools/app/remove_ldap_user.py:378 msgid "Updating user info for {dn!r} on {inst} ..." msgstr "Aktualisiere die Nutzerinformationenn für {dn!r} in {inst} …" -#: lib/pp_admintools/app/remove_ldap_user.py:369 +#: lib/pp_admintools/app/remove_ldap_user.py:383 +msgid "{c} on deactivating user {dn!r}: {e}" +msgstr "{c} beim Deaktivieren des Nutzers {dn!r}: {e}" + +#: lib/pp_admintools/app/remove_ldap_user.py:399 msgid "Did not found any group memberships of {dn!r} in {inst}." msgstr "Keine Gruppenmitgliedschaften von {dn!r} in {inst} gefunden." -#: lib/pp_admintools/app/remove_ldap_user.py:375 lib/pp_admintools/app/remove_ldap_user.py:393 -#: lib/pp_admintools/app/remove_ldap_user.py:415 lib/pp_admintools/app/remove_ldap_user.py:437 +#: lib/pp_admintools/app/remove_ldap_user.py:405 lib/pp_admintools/app/remove_ldap_user.py:432 +#: lib/pp_admintools/app/remove_ldap_user.py:463 lib/pp_admintools/app/remove_ldap_user.py:494 msgid "Removing user {u!r} from group {g!r} ..." msgstr "Lösche Nutzer {u!r} aus der Gruppe {g!r} …" -#: lib/pp_admintools/app/remove_ldap_user.py:387 +#: lib/pp_admintools/app/remove_ldap_user.py:410 lib/pp_admintools/app/remove_ldap_user.py:437 +#: lib/pp_admintools/app/remove_ldap_user.py:468 lib/pp_admintools/app/remove_ldap_user.py:499 +msgid "{c} on removing user {dn!r} from group {g!r}: {e}" +msgstr "{c} beim Löschen des Nutzers {dn!r} von der Gruppe {g!r}: {e}" + +#: lib/pp_admintools/app/remove_ldap_user.py:426 msgid "Did not found any unique group memberships of {dn!r} in {inst}." msgstr "Keine eindeutigen Gruppenmitgliedschaften von {dn!r} in {inst} gefunden." -#: lib/pp_admintools/app/remove_ldap_user.py:402 +#: lib/pp_admintools/app/remove_ldap_user.py:450 msgid "Deleting user {uid!r} from all POSIX groups in {inst}." msgstr "Lösche Nutzer {uid!r} aus allen POSIX-Gruppen in {inst} …" -#: lib/pp_admintools/app/remove_ldap_user.py:409 +#: lib/pp_admintools/app/remove_ldap_user.py:457 msgid "Did not found any POSIX group memberships of {uid!r} in {inst}." msgstr "Keine POSIX-Gruppenmitgliedschaften von {uid!r} in {inst} gefunden." -#: lib/pp_admintools/app/remove_ldap_user.py:424 +#: lib/pp_admintools/app/remove_ldap_user.py:481 msgid "Deleting user {uid!r} from all sudo groups in {inst}." msgstr "Lösche Nutzer {uid!r} aus allen sudo-Gruppen in {inst}." -#: lib/pp_admintools/app/remove_ldap_user.py:431 +#: lib/pp_admintools/app/remove_ldap_user.py:488 msgid "Did not found any sudo group memberships of {uid!r} in {inst}." msgstr "Keine sudo-Gruppenmitgliedschaften von {uid!r} in {inst} gefunden." diff --git a/locale/en_US/LC_MESSAGES/pp_admintools.po b/locale/en_US/LC_MESSAGES/pp_admintools.po index ad4fbd5..cec83fe 100644 --- a/locale/en_US/LC_MESSAGES/pp_admintools.po +++ b/locale/en_US/LC_MESSAGES/pp_admintools.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: pp_admintools 0.9.1\n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2022-09-08 17:25+0200\n" -"PO-Revision-Date: 2022-09-08 17:25+0200\n" +"POT-Creation-Date: 2022-09-09 11:58+0200\n" +"PO-Revision-Date: 2022-09-09 11:40+0200\n" "Last-Translator: Frank Brehm \n" "Language: en_US\n" "Language-Team: Frank Brehm \n" @@ -30,7 +30,7 @@ msgstr "" msgid "Wrong timeout {!r}:" msgstr "" -#: lib/pp_admintools/app/__init__.py:125 lib/pp_admintools/app/remove_ldap_user.py:237 +#: lib/pp_admintools/app/__init__.py:125 lib/pp_admintools/app/remove_ldap_user.py:238 msgid "yes" msgstr "" @@ -150,10 +150,10 @@ msgid "Executing: {}" msgstr "" #: lib/pp_admintools/app/dns_deploy_zones.py:447 lib/pp_admintools/app/dns_deploy_zones.py:801 -#: lib/pp_admintools/app/ldap.py:685 lib/pp_admintools/app/ldap.py:738 -#: lib/pp_admintools/app/ldap.py:791 lib/pp_admintools/app/ldap.py:995 -#: lib/pp_admintools/app/ldap.py:1029 lib/pp_admintools/app/ldap.py:1063 -#: lib/pp_admintools/app/ldap.py:1097 +#: lib/pp_admintools/app/ldap.py:691 lib/pp_admintools/app/ldap.py:744 +#: lib/pp_admintools/app/ldap.py:797 lib/pp_admintools/app/ldap.py:1026 +#: lib/pp_admintools/app/ldap.py:1060 lib/pp_admintools/app/ldap.py:1094 +#: lib/pp_admintools/app/ldap.py:1128 msgid "Result:" msgstr "" @@ -315,112 +315,112 @@ msgstr "Restarting {} …" msgid "Reloading {} ..." msgstr "Reloading {} …" -#: lib/pp_admintools/app/ldap.py:100 lib/pp_admintools/app/ldap.py:203 +#: lib/pp_admintools/app/ldap.py:106 lib/pp_admintools/app/ldap.py:209 msgid "The path {!r} must be an absolute path." msgstr "" -#: lib/pp_admintools/app/ldap.py:106 lib/pp_admintools/app/ldap.py:207 +#: lib/pp_admintools/app/ldap.py:112 lib/pp_admintools/app/ldap.py:213 msgid "The file {!r} does not exists." msgstr "" -#: lib/pp_admintools/app/ldap.py:110 lib/pp_admintools/app/ldap.py:211 +#: lib/pp_admintools/app/ldap.py:116 lib/pp_admintools/app/ldap.py:217 msgid "The given path {!r} exists, but is not a regular file." msgstr "" -#: lib/pp_admintools/app/ldap.py:114 lib/pp_admintools/app/ldap.py:215 +#: lib/pp_admintools/app/ldap.py:120 lib/pp_admintools/app/ldap.py:221 msgid "The given file {!r} is not readable." msgstr "" -#: lib/pp_admintools/app/ldap.py:135 +#: lib/pp_admintools/app/ldap.py:141 msgid "a port number must be greater than zero and less or equal to {}." msgstr "" -#: lib/pp_admintools/app/ldap.py:140 +#: lib/pp_admintools/app/ldap.py:146 msgid "Wrong port number {!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:250 +#: lib/pp_admintools/app/ldap.py:256 msgid "LDAP options" msgstr "" -#: lib/pp_admintools/app/ldap.py:252 +#: lib/pp_admintools/app/ldap.py:258 msgid "Options for the default LDAP connection" msgstr "" -#: lib/pp_admintools/app/ldap.py:254 +#: lib/pp_admintools/app/ldap.py:260 msgid "Options fo LDAP connections" msgstr "" -#: lib/pp_admintools/app/ldap.py:261 lib/pp_admintools/app/remove_ldap_user.py:237 +#: lib/pp_admintools/app/ldap.py:267 lib/pp_admintools/app/remove_ldap_user.py:238 msgid "No" msgstr "" -#: lib/pp_admintools/app/ldap.py:263 +#: lib/pp_admintools/app/ldap.py:269 msgid "Yes" msgstr "" -#: lib/pp_admintools/app/ldap.py:269 +#: lib/pp_admintools/app/ldap.py:275 msgid "HOST" msgstr "" -#: lib/pp_admintools/app/ldap.py:270 +#: lib/pp_admintools/app/ldap.py:276 msgid "Hostname or address of the LDAP server to use. Default: {!r}" msgstr "" -#: lib/pp_admintools/app/ldap.py:277 +#: lib/pp_admintools/app/ldap.py:283 msgid "Use ldaps to connect to the LDAP server. Default: {}" msgstr "" -#: lib/pp_admintools/app/ldap.py:282 lib/pp_admintools/app/mail.py:261 +#: lib/pp_admintools/app/ldap.py:288 lib/pp_admintools/app/mail.py:261 #: lib/pp_admintools/app/pdns.py:275 msgid "PORT" msgstr "" -#: lib/pp_admintools/app/ldap.py:284 +#: lib/pp_admintools/app/ldap.py:290 msgid "The port number to connect to the LDAP server. Default: {}" msgstr "" -#: lib/pp_admintools/app/ldap.py:290 +#: lib/pp_admintools/app/ldap.py:296 msgid "The base DN used as the root for the LDAP searches. Default: {!r}" msgstr "" -#: lib/pp_admintools/app/ldap.py:297 +#: lib/pp_admintools/app/ldap.py:303 msgid "The Bind DN to use to connect to the LDAP server. Default: {!r}" msgstr "" -#: lib/pp_admintools/app/ldap.py:305 +#: lib/pp_admintools/app/ldap.py:311 msgid "PASSWORD" msgstr "" -#: lib/pp_admintools/app/ldap.py:306 +#: lib/pp_admintools/app/ldap.py:312 msgid "Use PASSWORD as the password for simple LDAP authentication." msgstr "" -#: lib/pp_admintools/app/ldap.py:311 +#: lib/pp_admintools/app/ldap.py:317 msgid "" "Prompt for simple LDAP authentication. This is used instead of specifying the password on the " "command line." msgstr "" -#: lib/pp_admintools/app/ldap.py:317 +#: lib/pp_admintools/app/ldap.py:323 msgid "PASSWORD_FILE" msgstr "" -#: lib/pp_admintools/app/ldap.py:319 +#: lib/pp_admintools/app/ldap.py:325 msgid "Use contents of PASSWORD_FILE as the password for simple authentication." msgstr "" -#: lib/pp_admintools/app/ldap.py:327 lib/pp_admintools/app/pdns.py:249 +#: lib/pp_admintools/app/ldap.py:333 lib/pp_admintools/app/pdns.py:249 msgid "INSTANCE" msgstr "" -#: lib/pp_admintools/app/ldap.py:330 +#: lib/pp_admintools/app/ldap.py:336 msgid "" "The LDAP instance (LDAP cluster) from configuration, where to execute this script. If not given," " then the instance {!r} will be used." msgstr "" -#: lib/pp_admintools/app/ldap.py:333 +#: lib/pp_admintools/app/ldap.py:339 msgid "" "The LDAP instance (LDAP cluster) from configuration, where to execute this script. It is " "possible to give here the value {val_all!r}, then all found LDAP instances except {default!r} " @@ -429,208 +429,226 @@ msgid "" "used." msgstr "" -#: lib/pp_admintools/app/ldap.py:352 +#: lib/pp_admintools/app/ldap.py:358 msgid "SECONDS" msgstr "" -#: lib/pp_admintools/app/ldap.py:354 +#: lib/pp_admintools/app/ldap.py:360 msgid "Using the given timeout in seconds for all LDAP operations. Default: {}" msgstr "" -#: lib/pp_admintools/app/ldap.py:386 +#: lib/pp_admintools/app/ldap.py:392 msgid "Checking given instances." msgstr "" -#: lib/pp_admintools/app/ldap.py:390 +#: lib/pp_admintools/app/ldap.py:396 msgid "Given insts:" msgstr "" -#: lib/pp_admintools/app/ldap.py:427 +#: lib/pp_admintools/app/ldap.py:433 msgid "Configured LDAP instances:" msgstr "" -#: lib/pp_admintools/app/ldap.py:441 +#: lib/pp_admintools/app/ldap.py:447 msgid "Verifying given instances ..." msgstr "Verifying given instances …" -#: lib/pp_admintools/app/ldap.py:459 +#: lib/pp_admintools/app/ldap.py:465 msgid "LDAP instance {!r} not found in configuration." msgstr "" -#: lib/pp_admintools/app/ldap.py:467 +#: lib/pp_admintools/app/ldap.py:473 msgid "LDAP instances to use:" msgstr "" -#: lib/pp_admintools/app/ldap.py:516 +#: lib/pp_admintools/app/ldap.py:522 msgid "Preparations ..." msgstr "Preparations …" -#: lib/pp_admintools/app/ldap.py:519 +#: lib/pp_admintools/app/ldap.py:525 msgid "Open all necessary LDAP connections ..." msgstr "Open all necessary LDAP connections …" -#: lib/pp_admintools/app/ldap.py:530 +#: lib/pp_admintools/app/ldap.py:536 msgid "Connecting to LDAP server {} ..." msgstr "Connecting to LDAP server {} …" -#: lib/pp_admintools/app/ldap.py:545 +#: lib/pp_admintools/app/ldap.py:551 msgid "Connect options to server {!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:553 +#: lib/pp_admintools/app/ldap.py:559 msgid "LDAP server {s}: {re}" msgstr "" -#: lib/pp_admintools/app/ldap.py:561 +#: lib/pp_admintools/app/ldap.py:567 msgid "Info about LDAP server {}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:568 +#: lib/pp_admintools/app/ldap.py:574 msgid "Finishing ..." msgstr "Finishing …" -#: lib/pp_admintools/app/ldap.py:577 +#: lib/pp_admintools/app/ldap.py:583 msgid "Disconnecting from all remaining LDAP instances ..." msgstr "Disconnecting from all remaining LDAP instances …" -#: lib/pp_admintools/app/ldap.py:590 +#: lib/pp_admintools/app/ldap.py:596 msgid "Unbinding from LDAP server {!r} ..." msgstr "Unbinding from LDAP server {!r} …" -#: lib/pp_admintools/app/ldap.py:597 +#: lib/pp_admintools/app/ldap.py:603 msgid "Disconnecting from LDAP server {!r} ..." msgstr "Disconnecting from LDAP server {!r} …" -#: lib/pp_admintools/app/ldap.py:606 +#: lib/pp_admintools/app/ldap.py:612 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:611 +#: lib/pp_admintools/app/ldap.py:617 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:618 +#: lib/pp_admintools/app/ldap.py:624 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:625 +#: lib/pp_admintools/app/ldap.py:631 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:634 lib/pp_admintools/app/remove_ldap_user.py:257 +#: lib/pp_admintools/app/ldap.py:640 lib/pp_admintools/app/remove_ldap_user.py:258 msgid "Empty user given." msgstr "" -#: lib/pp_admintools/app/ldap.py:637 +#: lib/pp_admintools/app/ldap.py:643 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:667 lib/pp_admintools/app/ldap.py:720 -#: lib/pp_admintools/app/ldap.py:773 lib/pp_admintools/app/ldap.py:980 -#: lib/pp_admintools/app/ldap.py:1014 lib/pp_admintools/app/ldap.py:1048 -#: lib/pp_admintools/app/ldap.py:1082 +#: lib/pp_admintools/app/ldap.py:673 lib/pp_admintools/app/ldap.py:726 +#: lib/pp_admintools/app/ldap.py:779 lib/pp_admintools/app/ldap.py:1011 +#: lib/pp_admintools/app/ldap.py:1045 lib/pp_admintools/app/ldap.py:1079 +#: lib/pp_admintools/app/ldap.py:1113 msgid "Searching in {uri}/{bdn} with filter: {fltr}" msgstr "" -#: lib/pp_admintools/app/ldap.py:678 +#: lib/pp_admintools/app/ldap.py:684 msgid "Result of searching for mail address {m!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:682 lib/pp_admintools/app/ldap.py:735 -#: lib/pp_admintools/app/ldap.py:788 lib/pp_admintools/app/ldap.py:876 -#: lib/pp_admintools/app/ldap.py:992 lib/pp_admintools/app/ldap.py:1026 -#: lib/pp_admintools/app/ldap.py:1060 lib/pp_admintools/app/ldap.py:1094 +#: lib/pp_admintools/app/ldap.py:688 lib/pp_admintools/app/ldap.py:741 +#: lib/pp_admintools/app/ldap.py:794 lib/pp_admintools/app/ldap.py:882 +#: lib/pp_admintools/app/ldap.py:1023 lib/pp_admintools/app/ldap.py:1057 +#: lib/pp_admintools/app/ldap.py:1091 lib/pp_admintools/app/ldap.py:1125 msgid "Got a response entry:" msgstr "" -#: lib/pp_admintools/app/ldap.py:689 +#: lib/pp_admintools/app/ldap.py:695 msgid "User with mail address {m!r} not found in {uri}/{bdn}." msgstr "" -#: lib/pp_admintools/app/ldap.py:731 +#: lib/pp_admintools/app/ldap.py:737 msgid "Result of searching for uid {u!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:742 +#: lib/pp_admintools/app/ldap.py:748 msgid "User with uid {u!r} not found in {uri}/{bdn}." msgstr "" -#: lib/pp_admintools/app/ldap.py:784 +#: lib/pp_admintools/app/ldap.py:790 msgid "Result of searching for CN {cn!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:795 +#: lib/pp_admintools/app/ldap.py:801 msgid "User with cn {cn!r} not found in {uri}/{bdn}." msgstr "" -#: lib/pp_admintools/app/ldap.py:812 +#: lib/pp_admintools/app/ldap.py:818 msgid "User with DN {dn!r} not found in {uri}." msgstr "" -#: lib/pp_admintools/app/ldap.py:830 +#: lib/pp_admintools/app/ldap.py:836 msgid "ObjectClasses of {dn!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:840 +#: lib/pp_admintools/app/ldap.py:846 msgid "Entry {dn!r} in {uri} seems not to be an account." msgstr "" -#: lib/pp_admintools/app/ldap.py:862 +#: lib/pp_admintools/app/ldap.py:868 msgid "Searching DN {dn!r} in {uri}." msgstr "" -#: lib/pp_admintools/app/ldap.py:872 +#: lib/pp_admintools/app/ldap.py:878 msgid "Result of searching for DN {dn!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:880 +#: lib/pp_admintools/app/ldap.py:886 msgid "Entry with DN {dn!r} not found in {uri}." msgstr "" -#: lib/pp_admintools/app/ldap.py:920 +#: lib/pp_admintools/app/ldap.py:926 msgid "Applying changes on {uri} to DN {dn!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:925 +#: lib/pp_admintools/app/ldap.py:931 msgid "Simulation mode - changes are not applied." msgstr "" -#: lib/pp_admintools/app/ldap.py:931 +#: lib/pp_admintools/app/ldap.py:937 msgid "Modification NOT successfull - {c}: {e}" msgstr "" -#: lib/pp_admintools/app/ldap.py:932 +#: lib/pp_admintools/app/ldap.py:938 lib/pp_admintools/app/remove_ldap_user.py:385 +#: lib/pp_admintools/app/remove_ldap_user.py:412 lib/pp_admintools/app/remove_ldap_user.py:439 +#: lib/pp_admintools/app/remove_ldap_user.py:470 lib/pp_admintools/app/remove_ldap_user.py:501 msgid "Changes:" msgstr "" -#: lib/pp_admintools/app/ldap.py:934 -msgid "Modification successful." +#: lib/pp_admintools/app/ldap.py:950 +msgid "Modification status: {!r}." msgstr "" -#: lib/pp_admintools/app/ldap.py:936 +#: lib/pp_admintools/app/ldap.py:952 msgid "Result of modifying:" msgstr "" -#: lib/pp_admintools/app/ldap.py:946 +#: lib/pp_admintools/app/ldap.py:955 +msgid "Modification NOT successful: {desc} - {msg}" +msgstr "" + +#: lib/pp_admintools/app/ldap.py:959 +msgid "Modification successful." +msgstr "" + +#: lib/pp_admintools/app/ldap.py:968 msgid "Deleting LDAP entry {dn!r} on {uri} ..." msgstr "Deleting LDAP entry {dn!r} on {uri} …" -#: lib/pp_admintools/app/ldap.py:951 +#: lib/pp_admintools/app/ldap.py:973 msgid "Simulation mode - deletion will not be executed." msgstr "" -#: lib/pp_admintools/app/ldap.py:957 +#: lib/pp_admintools/app/ldap.py:979 msgid "Deletion NOT successfull - {c}: {e}" msgstr "" -#: lib/pp_admintools/app/ldap.py:959 -msgid "Deletion successful." +#: lib/pp_admintools/app/ldap.py:983 +msgid "Deletion status: {!r}." msgstr "" -#: lib/pp_admintools/app/ldap.py:961 +#: lib/pp_admintools/app/ldap.py:985 msgid "Result of deletion:" msgstr "" +#: lib/pp_admintools/app/ldap.py:988 +msgid "Deletion NOT successful: {desc} - {msg}" +msgstr "" + +#: lib/pp_admintools/app/ldap.py:992 +msgid "Deletion successful." +msgstr "" + #: lib/pp_admintools/app/mail.py:103 msgid "Got invalid SMTP port number {!r}." msgstr "" @@ -879,106 +897,117 @@ msgstr "Start disabling user entries …" msgid "Start removing user entries ..." msgstr "Start removing user entries …" -#: lib/pp_admintools/app/remove_ldap_user.py:205 +#: lib/pp_admintools/app/remove_ldap_user.py:206 msgid "Do you really want to deactivate the following users?" msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:207 +#: lib/pp_admintools/app/remove_ldap_user.py:208 msgid "Do you really want to remove the following users?" msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:233 +#: lib/pp_admintools/app/remove_ldap_user.py:234 msgid "Deactivate [{yes}/{no}]?" msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:235 +#: lib/pp_admintools/app/remove_ldap_user.py:236 msgid "Remove [{yes}/{no}]?" msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:242 +#: lib/pp_admintools/app/remove_ldap_user.py:243 msgid "Abort deactivating by {cls}: {e}" msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:244 +#: lib/pp_admintools/app/remove_ldap_user.py:245 msgid "Abort removing by {cls}: {e}" msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:253 +#: lib/pp_admintools/app/remove_ldap_user.py:254 msgid "Evaluating DNs of the user {!r} to remove ..." msgstr "Evaluating DNs of the user {!r} to remove …" -#: lib/pp_admintools/app/remove_ldap_user.py:267 +#: lib/pp_admintools/app/remove_ldap_user.py:268 msgid "Got DN {dn!r} for user {user!r} in LDAP instance {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:274 +#: lib/pp_admintools/app/remove_ldap_user.py:275 msgid "Found {nr} entries for user {u!r} in LDAP instance {i}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:286 +#: lib/pp_admintools/app/remove_ldap_user.py:287 msgid "Did not found user {user!r} in LDAP instance {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:295 +#: lib/pp_admintools/app/remove_ldap_user.py:296 msgid "Deactivating all given users from {} ..." msgstr "Deactivating all given users from {} …" -#: lib/pp_admintools/app/remove_ldap_user.py:297 +#: lib/pp_admintools/app/remove_ldap_user.py:298 msgid "Removing all given users from {} ..." msgstr "Removing all given users from {} …" -#: lib/pp_admintools/app/remove_ldap_user.py:309 +#: lib/pp_admintools/app/remove_ldap_user.py:313 msgid "Deactivating user {dn!r} from {inst} ..." msgstr "Deactivating user {dn!r} from {inst} …" -#: lib/pp_admintools/app/remove_ldap_user.py:312 +#: lib/pp_admintools/app/remove_ldap_user.py:316 msgid "Removing user {dn!r} from {inst} ..." msgstr "Removing user {dn!r} from {inst} …" -#: lib/pp_admintools/app/remove_ldap_user.py:318 +#: lib/pp_admintools/app/remove_ldap_user.py:322 msgid "Attributes of {!r}:" msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:342 -msgid "User {!r} is a mail user." +#: lib/pp_admintools/app/remove_ldap_user.py:343 +msgid "{c} on removing user {dn!r}: {e}" +msgstr "" + +#: lib/pp_admintools/app/remove_ldap_user.py:349 +msgid "User {dn!r} successful deactivated on {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:344 -msgid "User {!r} is not a mail user." +#: lib/pp_admintools/app/remove_ldap_user.py:352 +msgid "User {dn!r} successful removed from {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:357 +#: lib/pp_admintools/app/remove_ldap_user.py:378 msgid "Updating user info for {dn!r} on {inst} ..." msgstr "Updating user info for {dn!r} on {inst} …" -#: lib/pp_admintools/app/remove_ldap_user.py:369 +#: lib/pp_admintools/app/remove_ldap_user.py:383 +msgid "{c} on deactivating user {dn!r}: {e}" +msgstr "" + +#: lib/pp_admintools/app/remove_ldap_user.py:399 msgid "Did not found any group memberships of {dn!r} in {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:375 lib/pp_admintools/app/remove_ldap_user.py:393 -#: lib/pp_admintools/app/remove_ldap_user.py:415 lib/pp_admintools/app/remove_ldap_user.py:437 +#: lib/pp_admintools/app/remove_ldap_user.py:405 lib/pp_admintools/app/remove_ldap_user.py:432 +#: lib/pp_admintools/app/remove_ldap_user.py:463 lib/pp_admintools/app/remove_ldap_user.py:494 msgid "Removing user {u!r} from group {g!r} ..." msgstr "Removing user {u!r} from group {g!r} …" -#: lib/pp_admintools/app/remove_ldap_user.py:387 +#: lib/pp_admintools/app/remove_ldap_user.py:410 lib/pp_admintools/app/remove_ldap_user.py:437 +#: lib/pp_admintools/app/remove_ldap_user.py:468 lib/pp_admintools/app/remove_ldap_user.py:499 +msgid "{c} on removing user {dn!r} from group {g!r}: {e}" +msgstr "" + +#: lib/pp_admintools/app/remove_ldap_user.py:426 msgid "Did not found any unique group memberships of {dn!r} in {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:402 -#, fuzzy +#: lib/pp_admintools/app/remove_ldap_user.py:450 msgid "Deleting user {uid!r} from all POSIX groups in {inst}." -msgstr "Removing user {dn!r} from {inst} …" +msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:409 +#: lib/pp_admintools/app/remove_ldap_user.py:457 msgid "Did not found any POSIX group memberships of {uid!r} in {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:424 -#, fuzzy +#: lib/pp_admintools/app/remove_ldap_user.py:481 msgid "Deleting user {uid!r} from all sudo groups in {inst}." -msgstr "Removing user {dn!r} from {inst} …" +msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:431 +#: lib/pp_admintools/app/remove_ldap_user.py:488 msgid "Did not found any sudo group memberships of {uid!r} in {inst}." msgstr "" diff --git a/locale/pp_admintools.pot b/locale/pp_admintools.pot index 80b56e5..c6d5e49 100644 --- a/locale/pp_admintools.pot +++ b/locale/pp_admintools.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: pp_admintools 0.9.1\n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2022-09-08 17:25+0200\n" +"POT-Creation-Date: 2022-09-09 11:58+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -29,7 +29,7 @@ msgstr "" msgid "Wrong timeout {!r}:" msgstr "" -#: lib/pp_admintools/app/__init__.py:125 lib/pp_admintools/app/remove_ldap_user.py:237 +#: lib/pp_admintools/app/__init__.py:125 lib/pp_admintools/app/remove_ldap_user.py:238 msgid "yes" msgstr "" @@ -149,10 +149,10 @@ msgid "Executing: {}" msgstr "" #: lib/pp_admintools/app/dns_deploy_zones.py:447 lib/pp_admintools/app/dns_deploy_zones.py:801 -#: lib/pp_admintools/app/ldap.py:685 lib/pp_admintools/app/ldap.py:738 -#: lib/pp_admintools/app/ldap.py:791 lib/pp_admintools/app/ldap.py:995 -#: lib/pp_admintools/app/ldap.py:1029 lib/pp_admintools/app/ldap.py:1063 -#: lib/pp_admintools/app/ldap.py:1097 +#: lib/pp_admintools/app/ldap.py:691 lib/pp_admintools/app/ldap.py:744 +#: lib/pp_admintools/app/ldap.py:797 lib/pp_admintools/app/ldap.py:1026 +#: lib/pp_admintools/app/ldap.py:1060 lib/pp_admintools/app/ldap.py:1094 +#: lib/pp_admintools/app/ldap.py:1128 msgid "Result:" msgstr "" @@ -314,112 +314,112 @@ msgstr "" msgid "Reloading {} ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:100 lib/pp_admintools/app/ldap.py:203 +#: lib/pp_admintools/app/ldap.py:106 lib/pp_admintools/app/ldap.py:209 msgid "The path {!r} must be an absolute path." msgstr "" -#: lib/pp_admintools/app/ldap.py:106 lib/pp_admintools/app/ldap.py:207 +#: lib/pp_admintools/app/ldap.py:112 lib/pp_admintools/app/ldap.py:213 msgid "The file {!r} does not exists." msgstr "" -#: lib/pp_admintools/app/ldap.py:110 lib/pp_admintools/app/ldap.py:211 +#: lib/pp_admintools/app/ldap.py:116 lib/pp_admintools/app/ldap.py:217 msgid "The given path {!r} exists, but is not a regular file." msgstr "" -#: lib/pp_admintools/app/ldap.py:114 lib/pp_admintools/app/ldap.py:215 +#: lib/pp_admintools/app/ldap.py:120 lib/pp_admintools/app/ldap.py:221 msgid "The given file {!r} is not readable." msgstr "" -#: lib/pp_admintools/app/ldap.py:135 +#: lib/pp_admintools/app/ldap.py:141 msgid "a port number must be greater than zero and less or equal to {}." msgstr "" -#: lib/pp_admintools/app/ldap.py:140 +#: lib/pp_admintools/app/ldap.py:146 msgid "Wrong port number {!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:250 +#: lib/pp_admintools/app/ldap.py:256 msgid "LDAP options" msgstr "" -#: lib/pp_admintools/app/ldap.py:252 +#: lib/pp_admintools/app/ldap.py:258 msgid "Options for the default LDAP connection" msgstr "" -#: lib/pp_admintools/app/ldap.py:254 +#: lib/pp_admintools/app/ldap.py:260 msgid "Options fo LDAP connections" msgstr "" -#: lib/pp_admintools/app/ldap.py:261 lib/pp_admintools/app/remove_ldap_user.py:237 +#: lib/pp_admintools/app/ldap.py:267 lib/pp_admintools/app/remove_ldap_user.py:238 msgid "No" msgstr "" -#: lib/pp_admintools/app/ldap.py:263 +#: lib/pp_admintools/app/ldap.py:269 msgid "Yes" msgstr "" -#: lib/pp_admintools/app/ldap.py:269 +#: lib/pp_admintools/app/ldap.py:275 msgid "HOST" msgstr "" -#: lib/pp_admintools/app/ldap.py:270 +#: lib/pp_admintools/app/ldap.py:276 msgid "Hostname or address of the LDAP server to use. Default: {!r}" msgstr "" -#: lib/pp_admintools/app/ldap.py:277 +#: lib/pp_admintools/app/ldap.py:283 msgid "Use ldaps to connect to the LDAP server. Default: {}" msgstr "" -#: lib/pp_admintools/app/ldap.py:282 lib/pp_admintools/app/mail.py:261 +#: lib/pp_admintools/app/ldap.py:288 lib/pp_admintools/app/mail.py:261 #: lib/pp_admintools/app/pdns.py:275 msgid "PORT" msgstr "" -#: lib/pp_admintools/app/ldap.py:284 +#: lib/pp_admintools/app/ldap.py:290 msgid "The port number to connect to the LDAP server. Default: {}" msgstr "" -#: lib/pp_admintools/app/ldap.py:290 +#: lib/pp_admintools/app/ldap.py:296 msgid "The base DN used as the root for the LDAP searches. Default: {!r}" msgstr "" -#: lib/pp_admintools/app/ldap.py:297 +#: lib/pp_admintools/app/ldap.py:303 msgid "The Bind DN to use to connect to the LDAP server. Default: {!r}" msgstr "" -#: lib/pp_admintools/app/ldap.py:305 +#: lib/pp_admintools/app/ldap.py:311 msgid "PASSWORD" msgstr "" -#: lib/pp_admintools/app/ldap.py:306 +#: lib/pp_admintools/app/ldap.py:312 msgid "Use PASSWORD as the password for simple LDAP authentication." msgstr "" -#: lib/pp_admintools/app/ldap.py:311 +#: lib/pp_admintools/app/ldap.py:317 msgid "" "Prompt for simple LDAP authentication. This is used instead of specifying the password on the " "command line." msgstr "" -#: lib/pp_admintools/app/ldap.py:317 +#: lib/pp_admintools/app/ldap.py:323 msgid "PASSWORD_FILE" msgstr "" -#: lib/pp_admintools/app/ldap.py:319 +#: lib/pp_admintools/app/ldap.py:325 msgid "Use contents of PASSWORD_FILE as the password for simple authentication." msgstr "" -#: lib/pp_admintools/app/ldap.py:327 lib/pp_admintools/app/pdns.py:249 +#: lib/pp_admintools/app/ldap.py:333 lib/pp_admintools/app/pdns.py:249 msgid "INSTANCE" msgstr "" -#: lib/pp_admintools/app/ldap.py:330 +#: lib/pp_admintools/app/ldap.py:336 msgid "" "The LDAP instance (LDAP cluster) from configuration, where to execute this script. If not given," " then the instance {!r} will be used." msgstr "" -#: lib/pp_admintools/app/ldap.py:333 +#: lib/pp_admintools/app/ldap.py:339 msgid "" "The LDAP instance (LDAP cluster) from configuration, where to execute this script. It is " "possible to give here the value {val_all!r}, then all found LDAP instances except {default!r} " @@ -428,208 +428,226 @@ msgid "" "used." msgstr "" -#: lib/pp_admintools/app/ldap.py:352 +#: lib/pp_admintools/app/ldap.py:358 msgid "SECONDS" msgstr "" -#: lib/pp_admintools/app/ldap.py:354 +#: lib/pp_admintools/app/ldap.py:360 msgid "Using the given timeout in seconds for all LDAP operations. Default: {}" msgstr "" -#: lib/pp_admintools/app/ldap.py:386 +#: lib/pp_admintools/app/ldap.py:392 msgid "Checking given instances." msgstr "" -#: lib/pp_admintools/app/ldap.py:390 +#: lib/pp_admintools/app/ldap.py:396 msgid "Given insts:" msgstr "" -#: lib/pp_admintools/app/ldap.py:427 +#: lib/pp_admintools/app/ldap.py:433 msgid "Configured LDAP instances:" msgstr "" -#: lib/pp_admintools/app/ldap.py:441 +#: lib/pp_admintools/app/ldap.py:447 msgid "Verifying given instances ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:459 +#: lib/pp_admintools/app/ldap.py:465 msgid "LDAP instance {!r} not found in configuration." msgstr "" -#: lib/pp_admintools/app/ldap.py:467 +#: lib/pp_admintools/app/ldap.py:473 msgid "LDAP instances to use:" msgstr "" -#: lib/pp_admintools/app/ldap.py:516 +#: lib/pp_admintools/app/ldap.py:522 msgid "Preparations ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:519 +#: lib/pp_admintools/app/ldap.py:525 msgid "Open all necessary LDAP connections ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:530 +#: lib/pp_admintools/app/ldap.py:536 msgid "Connecting to LDAP server {} ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:545 +#: lib/pp_admintools/app/ldap.py:551 msgid "Connect options to server {!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:553 +#: lib/pp_admintools/app/ldap.py:559 msgid "LDAP server {s}: {re}" msgstr "" -#: lib/pp_admintools/app/ldap.py:561 +#: lib/pp_admintools/app/ldap.py:567 msgid "Info about LDAP server {}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:568 +#: lib/pp_admintools/app/ldap.py:574 msgid "Finishing ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:577 +#: lib/pp_admintools/app/ldap.py:583 msgid "Disconnecting from all remaining LDAP instances ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:590 +#: lib/pp_admintools/app/ldap.py:596 msgid "Unbinding from LDAP server {!r} ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:597 +#: lib/pp_admintools/app/ldap.py:603 msgid "Disconnecting from LDAP server {!r} ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:606 +#: lib/pp_admintools/app/ldap.py:612 msgid "Trying to evaluate DN of user {user!r} in LDAP instance {inst} ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:611 +#: lib/pp_admintools/app/ldap.py:617 msgid "Trying to evaluate DN of user {u!r} as a mail address ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:618 +#: lib/pp_admintools/app/ldap.py:624 msgid "Trying to evaluate DN of user {u!r} as a LDAP DN ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:625 +#: lib/pp_admintools/app/ldap.py:631 msgid "Trying to evaluate DN of user {u!r} as a UID (Posix user name) ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:634 lib/pp_admintools/app/remove_ldap_user.py:257 +#: lib/pp_admintools/app/ldap.py:640 lib/pp_admintools/app/remove_ldap_user.py:258 msgid "Empty user given." msgstr "" -#: lib/pp_admintools/app/ldap.py:637 +#: lib/pp_admintools/app/ldap.py:643 msgid "Trying to evaluate DN of user {u!r} as a CN ({c}) ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:667 lib/pp_admintools/app/ldap.py:720 -#: lib/pp_admintools/app/ldap.py:773 lib/pp_admintools/app/ldap.py:980 -#: lib/pp_admintools/app/ldap.py:1014 lib/pp_admintools/app/ldap.py:1048 -#: lib/pp_admintools/app/ldap.py:1082 +#: lib/pp_admintools/app/ldap.py:673 lib/pp_admintools/app/ldap.py:726 +#: lib/pp_admintools/app/ldap.py:779 lib/pp_admintools/app/ldap.py:1011 +#: lib/pp_admintools/app/ldap.py:1045 lib/pp_admintools/app/ldap.py:1079 +#: lib/pp_admintools/app/ldap.py:1113 msgid "Searching in {uri}/{bdn} with filter: {fltr}" msgstr "" -#: lib/pp_admintools/app/ldap.py:678 +#: lib/pp_admintools/app/ldap.py:684 msgid "Result of searching for mail address {m!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:682 lib/pp_admintools/app/ldap.py:735 -#: lib/pp_admintools/app/ldap.py:788 lib/pp_admintools/app/ldap.py:876 -#: lib/pp_admintools/app/ldap.py:992 lib/pp_admintools/app/ldap.py:1026 -#: lib/pp_admintools/app/ldap.py:1060 lib/pp_admintools/app/ldap.py:1094 +#: lib/pp_admintools/app/ldap.py:688 lib/pp_admintools/app/ldap.py:741 +#: lib/pp_admintools/app/ldap.py:794 lib/pp_admintools/app/ldap.py:882 +#: lib/pp_admintools/app/ldap.py:1023 lib/pp_admintools/app/ldap.py:1057 +#: lib/pp_admintools/app/ldap.py:1091 lib/pp_admintools/app/ldap.py:1125 msgid "Got a response entry:" msgstr "" -#: lib/pp_admintools/app/ldap.py:689 +#: lib/pp_admintools/app/ldap.py:695 msgid "User with mail address {m!r} not found in {uri}/{bdn}." msgstr "" -#: lib/pp_admintools/app/ldap.py:731 +#: lib/pp_admintools/app/ldap.py:737 msgid "Result of searching for uid {u!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:742 +#: lib/pp_admintools/app/ldap.py:748 msgid "User with uid {u!r} not found in {uri}/{bdn}." msgstr "" -#: lib/pp_admintools/app/ldap.py:784 +#: lib/pp_admintools/app/ldap.py:790 msgid "Result of searching for CN {cn!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:795 +#: lib/pp_admintools/app/ldap.py:801 msgid "User with cn {cn!r} not found in {uri}/{bdn}." msgstr "" -#: lib/pp_admintools/app/ldap.py:812 +#: lib/pp_admintools/app/ldap.py:818 msgid "User with DN {dn!r} not found in {uri}." msgstr "" -#: lib/pp_admintools/app/ldap.py:830 +#: lib/pp_admintools/app/ldap.py:836 msgid "ObjectClasses of {dn!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:840 +#: lib/pp_admintools/app/ldap.py:846 msgid "Entry {dn!r} in {uri} seems not to be an account." msgstr "" -#: lib/pp_admintools/app/ldap.py:862 +#: lib/pp_admintools/app/ldap.py:868 msgid "Searching DN {dn!r} in {uri}." msgstr "" -#: lib/pp_admintools/app/ldap.py:872 +#: lib/pp_admintools/app/ldap.py:878 msgid "Result of searching for DN {dn!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:880 +#: lib/pp_admintools/app/ldap.py:886 msgid "Entry with DN {dn!r} not found in {uri}." msgstr "" -#: lib/pp_admintools/app/ldap.py:920 +#: lib/pp_admintools/app/ldap.py:926 msgid "Applying changes on {uri} to DN {dn!r}:" msgstr "" -#: lib/pp_admintools/app/ldap.py:925 +#: lib/pp_admintools/app/ldap.py:931 msgid "Simulation mode - changes are not applied." msgstr "" -#: lib/pp_admintools/app/ldap.py:931 +#: lib/pp_admintools/app/ldap.py:937 msgid "Modification NOT successfull - {c}: {e}" msgstr "" -#: lib/pp_admintools/app/ldap.py:932 +#: lib/pp_admintools/app/ldap.py:938 lib/pp_admintools/app/remove_ldap_user.py:385 +#: lib/pp_admintools/app/remove_ldap_user.py:412 lib/pp_admintools/app/remove_ldap_user.py:439 +#: lib/pp_admintools/app/remove_ldap_user.py:470 lib/pp_admintools/app/remove_ldap_user.py:501 msgid "Changes:" msgstr "" -#: lib/pp_admintools/app/ldap.py:934 -msgid "Modification successful." +#: lib/pp_admintools/app/ldap.py:950 +msgid "Modification status: {!r}." msgstr "" -#: lib/pp_admintools/app/ldap.py:936 +#: lib/pp_admintools/app/ldap.py:952 msgid "Result of modifying:" msgstr "" -#: lib/pp_admintools/app/ldap.py:946 +#: lib/pp_admintools/app/ldap.py:955 +msgid "Modification NOT successful: {desc} - {msg}" +msgstr "" + +#: lib/pp_admintools/app/ldap.py:959 +msgid "Modification successful." +msgstr "" + +#: lib/pp_admintools/app/ldap.py:968 msgid "Deleting LDAP entry {dn!r} on {uri} ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:951 +#: lib/pp_admintools/app/ldap.py:973 msgid "Simulation mode - deletion will not be executed." msgstr "" -#: lib/pp_admintools/app/ldap.py:957 +#: lib/pp_admintools/app/ldap.py:979 msgid "Deletion NOT successfull - {c}: {e}" msgstr "" -#: lib/pp_admintools/app/ldap.py:959 -msgid "Deletion successful." +#: lib/pp_admintools/app/ldap.py:983 +msgid "Deletion status: {!r}." msgstr "" -#: lib/pp_admintools/app/ldap.py:961 +#: lib/pp_admintools/app/ldap.py:985 msgid "Result of deletion:" msgstr "" +#: lib/pp_admintools/app/ldap.py:988 +msgid "Deletion NOT successful: {desc} - {msg}" +msgstr "" + +#: lib/pp_admintools/app/ldap.py:992 +msgid "Deletion successful." +msgstr "" + #: lib/pp_admintools/app/mail.py:103 msgid "Got invalid SMTP port number {!r}." msgstr "" @@ -878,104 +896,117 @@ msgstr "" msgid "Start removing user entries ..." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:205 +#: lib/pp_admintools/app/remove_ldap_user.py:206 msgid "Do you really want to deactivate the following users?" msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:207 +#: lib/pp_admintools/app/remove_ldap_user.py:208 msgid "Do you really want to remove the following users?" msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:233 +#: lib/pp_admintools/app/remove_ldap_user.py:234 msgid "Deactivate [{yes}/{no}]?" msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:235 +#: lib/pp_admintools/app/remove_ldap_user.py:236 msgid "Remove [{yes}/{no}]?" msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:242 +#: lib/pp_admintools/app/remove_ldap_user.py:243 msgid "Abort deactivating by {cls}: {e}" msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:244 +#: lib/pp_admintools/app/remove_ldap_user.py:245 msgid "Abort removing by {cls}: {e}" msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:253 +#: lib/pp_admintools/app/remove_ldap_user.py:254 msgid "Evaluating DNs of the user {!r} to remove ..." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:267 +#: lib/pp_admintools/app/remove_ldap_user.py:268 msgid "Got DN {dn!r} for user {user!r} in LDAP instance {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:274 +#: lib/pp_admintools/app/remove_ldap_user.py:275 msgid "Found {nr} entries for user {u!r} in LDAP instance {i}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:286 +#: lib/pp_admintools/app/remove_ldap_user.py:287 msgid "Did not found user {user!r} in LDAP instance {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:295 +#: lib/pp_admintools/app/remove_ldap_user.py:296 msgid "Deactivating all given users from {} ..." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:297 +#: lib/pp_admintools/app/remove_ldap_user.py:298 msgid "Removing all given users from {} ..." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:309 +#: lib/pp_admintools/app/remove_ldap_user.py:313 msgid "Deactivating user {dn!r} from {inst} ..." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:312 +#: lib/pp_admintools/app/remove_ldap_user.py:316 msgid "Removing user {dn!r} from {inst} ..." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:318 +#: lib/pp_admintools/app/remove_ldap_user.py:322 msgid "Attributes of {!r}:" msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:342 -msgid "User {!r} is a mail user." +#: lib/pp_admintools/app/remove_ldap_user.py:343 +msgid "{c} on removing user {dn!r}: {e}" +msgstr "" + +#: lib/pp_admintools/app/remove_ldap_user.py:349 +msgid "User {dn!r} successful deactivated on {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:344 -msgid "User {!r} is not a mail user." +#: lib/pp_admintools/app/remove_ldap_user.py:352 +msgid "User {dn!r} successful removed from {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:357 +#: lib/pp_admintools/app/remove_ldap_user.py:378 msgid "Updating user info for {dn!r} on {inst} ..." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:369 +#: lib/pp_admintools/app/remove_ldap_user.py:383 +msgid "{c} on deactivating user {dn!r}: {e}" +msgstr "" + +#: lib/pp_admintools/app/remove_ldap_user.py:399 msgid "Did not found any group memberships of {dn!r} in {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:375 lib/pp_admintools/app/remove_ldap_user.py:393 -#: lib/pp_admintools/app/remove_ldap_user.py:415 lib/pp_admintools/app/remove_ldap_user.py:437 +#: lib/pp_admintools/app/remove_ldap_user.py:405 lib/pp_admintools/app/remove_ldap_user.py:432 +#: lib/pp_admintools/app/remove_ldap_user.py:463 lib/pp_admintools/app/remove_ldap_user.py:494 msgid "Removing user {u!r} from group {g!r} ..." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:387 +#: lib/pp_admintools/app/remove_ldap_user.py:410 lib/pp_admintools/app/remove_ldap_user.py:437 +#: lib/pp_admintools/app/remove_ldap_user.py:468 lib/pp_admintools/app/remove_ldap_user.py:499 +msgid "{c} on removing user {dn!r} from group {g!r}: {e}" +msgstr "" + +#: lib/pp_admintools/app/remove_ldap_user.py:426 msgid "Did not found any unique group memberships of {dn!r} in {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:402 +#: lib/pp_admintools/app/remove_ldap_user.py:450 msgid "Deleting user {uid!r} from all POSIX groups in {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:409 +#: lib/pp_admintools/app/remove_ldap_user.py:457 msgid "Did not found any POSIX group memberships of {uid!r} in {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:424 +#: lib/pp_admintools/app/remove_ldap_user.py:481 msgid "Deleting user {uid!r} from all sudo groups in {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:431 +#: lib/pp_admintools/app/remove_ldap_user.py:488 msgid "Did not found any sudo group memberships of {uid!r} in {inst}." msgstr "" -- 2.39.5