From: Frank Brehm Date: Fri, 23 Sep 2022 14:37:57 +0000 (+0200) Subject: Translations X-Git-Tag: 0.6.0^2~1^2~11 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=28d81dd00014839d1265fcdce6f57fe7167e7c2f;p=pixelpark%2Fpp-admin-tools.git Translations --- diff --git a/locale/de_DE/LC_MESSAGES/pp_admintools.po b/locale/de_DE/LC_MESSAGES/pp_admintools.po index 7b58149..a84fc6e 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-22 14:24+0200\n" -"PO-Revision-Date: 2022-09-22 14:30+0200\n" +"POT-Creation-Date: 2022-09-23 16:37+0200\n" +"PO-Revision-Date: 2022-09-23 16:30+0200\n" "Last-Translator: Frank Brehm \n" "Language: de_DE\n" "Language-Team: de_DE \n" @@ -31,6 +31,7 @@ msgid "Wrong timeout {!r}:" msgstr "Ungültiger Timeout {!r}:" #: lib/pp_admintools/app/__init__.py:126 lib/pp_admintools/app/remove_ldap_user.py:278 +#: lib/pp_admintools/app/set_ldap_password.py:512 msgid "yes" msgstr "ja" @@ -48,8 +49,8 @@ msgstr "" msgid "Password:" msgstr "Passwort:" -#: lib/pp_admintools/app/__init__.py:252 lib/pp_admintools/app/set_ldap_password.py:230 -#: lib/pp_admintools/app/set_ldap_password.py:239 +#: lib/pp_admintools/app/__init__.py:252 lib/pp_admintools/app/set_ldap_password.py:364 +#: lib/pp_admintools/app/set_ldap_password.py:373 msgid "Repeat password:" msgstr "Passwort-Wiederholung:" @@ -62,7 +63,7 @@ msgid "Interrupted on demand." msgstr "Abbruch auf Verlangen." #: lib/pp_admintools/app/__init__.py:304 lib/pp_admintools/app/__init__.py:309 -#: lib/pp_admintools/app/__init__.py:378 lib/pp_admintools/app/__init__.py:383 +#: lib/pp_admintools/app/__init__.py:379 lib/pp_admintools/app/__init__.py:384 msgid "Got a {}:" msgstr "Habe ein {} erhalten:" @@ -375,6 +376,7 @@ msgid "Options fo LDAP connections" msgstr "Optionen für die LDAP-Verbindungen" #: lib/pp_admintools/app/ldap.py:267 lib/pp_admintools/app/remove_ldap_user.py:278 +#: lib/pp_admintools/app/set_ldap_password.py:512 msgid "No" msgstr "Nein" @@ -411,9 +413,9 @@ msgstr "Die Basis-DN, die als Ausgangspunt bei LDAP-Suchen verwendet werden soll 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:311 lib/pp_admintools/app/set_ldap_password.py:124 -#: lib/pp_admintools/app/set_ldap_password.py:125 lib/pp_admintools/app/set_ldap_password.py:142 -#: lib/pp_admintools/app/set_ldap_password.py:145 +#: lib/pp_admintools/app/ldap.py:311 lib/pp_admintools/app/set_ldap_password.py:191 +#: lib/pp_admintools/app/set_ldap_password.py:192 lib/pp_admintools/app/set_ldap_password.py:209 +#: lib/pp_admintools/app/set_ldap_password.py:212 msgid "PASSWORD" msgstr "PASSWORT" @@ -429,8 +431,8 @@ 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:323 lib/pp_admintools/app/set_ldap_password.py:136 -#: lib/pp_admintools/app/set_ldap_password.py:138 +#: lib/pp_admintools/app/ldap.py:323 lib/pp_admintools/app/set_ldap_password.py:203 +#: lib/pp_admintools/app/set_ldap_password.py:205 msgid "PASSWORD_FILE" msgstr "PASSWORT_DATEI" @@ -536,11 +538,11 @@ msgstr "Beende …" msgid "Disconnecting from all remaining LDAP instances ..." msgstr "Trenne Verbindung zu allen verbleibenden LDAP-Instanzen …" -#: lib/pp_admintools/app/ldap.py:665 lib/pp_admintools/app/set_ldap_password.py:273 +#: lib/pp_admintools/app/ldap.py:665 lib/pp_admintools/app/set_ldap_password.py:410 msgid "Unbinding from LDAP server {!r} ..." msgstr "Trenne Bindung zu LDAP-Server {!r} …" -#: lib/pp_admintools/app/ldap.py:672 lib/pp_admintools/app/set_ldap_password.py:280 +#: lib/pp_admintools/app/ldap.py:672 lib/pp_admintools/app/set_ldap_password.py:417 msgid "Disconnecting from LDAP server {!r} ..." msgstr "Trenne Verbindung zu LDAP-Server {!r} …" @@ -606,7 +608,7 @@ msgstr "Ergebnis der Suche nach CN {cn!r}:" 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:887 +#: lib/pp_admintools/app/ldap.py:887 lib/pp_admintools/app/set_ldap_password.py:437 msgid "User with DN {dn!r} not found in {uri}." msgstr "Ein Nutzer mit dem DN {dn!r} wurde nicht in {uri} gefunden." @@ -923,8 +925,8 @@ msgstr "Deaktivieren der Nutzer anstatt Löschung." msgid "Removing the user from LDAP." msgstr "Löschen der übergebenen Nutzer im LDAP." -#: lib/pp_admintools/app/remove_ldap_user.py:136 lib/pp_admintools/app/set_ldap_password.py:162 -#: lib/pp_admintools/app/set_ldap_password.py:165 +#: lib/pp_admintools/app/remove_ldap_user.py:136 lib/pp_admintools/app/set_ldap_password.py:247 +#: lib/pp_admintools/app/set_ldap_password.py:250 msgid "USER" msgstr "NUTZER" @@ -1007,15 +1009,15 @@ msgstr "Abbruch des Löschens durch {cls}: {e}" 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:308 lib/pp_admintools/app/set_ldap_password.py:294 +#: lib/pp_admintools/app/remove_ldap_user.py:308 lib/pp_admintools/app/set_ldap_password.py:460 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:315 lib/pp_admintools/app/set_ldap_password.py:299 +#: lib/pp_admintools/app/remove_ldap_user.py:315 lib/pp_admintools/app/set_ldap_password.py:465 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:327 lib/pp_admintools/app/set_ldap_password.py:313 +#: lib/pp_admintools/app/remove_ldap_user.py:327 lib/pp_admintools/app/set_ldap_password.py:479 msgid "Did not found user {user!r} in LDAP instance {inst}." msgstr "Der Nutzer {user!r} wurde nicht in der LDAP-Instanz {inst} gefunden." @@ -1093,7 +1095,29 @@ msgstr "Lösche Nutzer {uid!r} aus allen sudo-Gruppen in {inst}." msgid "Did not found any sudo group memberships of {uid!r} in {inst}." msgstr "Keine sudo-Gruppenmitgliedschaften von {uid!r} in {inst} gefunden." -#: lib/pp_admintools/app/set_ldap_password.py:84 +#: lib/pp_admintools/app/set_ldap_password.py:90 +msgid "The ancient and notorious 3 DES crypt method." +msgstr "Die antike und berüchtigte 3 DES Verschlüsselungsmethode." + +#: lib/pp_admintools/app/set_ldap_password.py:91 lib/pp_admintools/app/set_ldap_password.py:94 +msgid "Pure {} hashing method." +msgstr "Reine {}-hashing Methode." + +#: lib/pp_admintools/app/set_ldap_password.py:92 lib/pp_admintools/app/set_ldap_password.py:95 +#: lib/pp_admintools/app/set_ldap_password.py:97 lib/pp_admintools/app/set_ldap_password.py:99 +msgid "A {} based hashing algorithm." +msgstr "Ein {}-basierter Hashing-Algorithmus" + +#: lib/pp_admintools/app/set_ldap_password.py:93 lib/pp_admintools/app/set_ldap_password.py:96 +#: lib/pp_admintools/app/set_ldap_password.py:98 lib/pp_admintools/app/set_ldap_password.py:100 +msgid "Salted {} hashing method." +msgstr "Gesalzene {}-hashing Methode." + +#: lib/pp_admintools/app/set_ldap_password.py:101 +msgid "A hashing method derived from {} with additional computing rounds." +msgstr "Eine von {} abgeleitete Hashing-Methode mit zusätzlichen Berechnungsrunden." + +#: lib/pp_admintools/app/set_ldap_password.py:148 msgid "" "Changing the password of the given user. If no user was given, then {app} tries to use the name " "of the user logged in on the controlling terminal." @@ -1101,31 +1125,44 @@ msgstr "" "Ändern des Passwortes des angegebenen Nutzers. Wenn kein Nutzer angegeben wird, versucht {app} " "den Namen des am Terminal angemeldeten Nutzers zu verwenden." -#: lib/pp_admintools/app/set_ldap_password.py:118 +#: lib/pp_admintools/app/set_ldap_password.py:185 msgid "Options for {}" msgstr "Optionen für {}" -#: lib/pp_admintools/app/set_ldap_password.py:125 +#: lib/pp_admintools/app/set_ldap_password.py:192 msgid "Use {} as the current user password." msgstr "Verwende {} als das aktuelle Nutzerpasswort." -#: lib/pp_admintools/app/set_ldap_password.py:130 +#: lib/pp_admintools/app/set_ldap_password.py:197 msgid "" "Prompt for current user password. This is used instead of specifying the password on the command" " line." msgstr "" -"Nachfrage nach dem aktuellen Passwort des Nutzers. Das wird anstelle der Angabe des Passortes " -"in der Kommandozeile verwendet." +"Nachfrage nach dem aktuellen Passwort des Nutzers. Das wird anstelle der Angabe des Passortes in" +" der Kommandozeile verwendet." -#: lib/pp_admintools/app/set_ldap_password.py:138 +#: lib/pp_admintools/app/set_ldap_password.py:205 msgid "Use contents of {} as the current user password." msgstr "Verwende den Inhalt von {} als das aktuelle Nutzerpasswort." -#: lib/pp_admintools/app/set_ldap_password.py:143 +#: lib/pp_admintools/app/set_ldap_password.py:210 msgid "Use {} as the new user password. If not given, it will be asked for it." msgstr "Verwende {} als das neue Nutzerpasswort. Wenn nicht angegeben, wird danach gefragt." -#: lib/pp_admintools/app/set_ldap_password.py:148 +#: lib/pp_admintools/app/set_ldap_password.py:225 +msgid "SCHEMA" +msgstr "SCHEMA" + +#: lib/pp_admintools/app/set_ldap_password.py:226 +msgid "" +"The schema (hashing method) to use to hash the new password. It is possible to give here the " +"value {val_list!r}, then all possible schemes are shown and exit. Default: {default!r}." +msgstr "" +"Das Schema (die Hashing-Methode), das zum Hashen des neuen Passwortes verwendet wird. Es ist " +"möglich, hier den Wert {val_list!r} anzugeben, dann werden alle verfügbaren Schemen aufgelistet." +" Vorgabe: {default!r}." + +#: lib/pp_admintools/app/set_ldap_password.py:233 msgid "" "The user, which password in the given LDAP instance should be changed. It may be given by its " "Uid (the alphanumeric POSIX name), its mail address or its LDAP DN." @@ -1134,62 +1171,116 @@ msgstr "" "seine Uid (der alphanumerische POSIX-Nutzername), als seine Mailadresse oder als seine LDAP-DN " "angegeben werden." -#: lib/pp_admintools/app/set_ldap_password.py:153 +#: lib/pp_admintools/app/set_ldap_password.py:238 msgid "If not given, then your current user name {!r} will be used." msgstr "Wenn nicht angegeben, dann wird der aktuelle Nutzername {!r} verwendet." -#: lib/pp_admintools/app/set_ldap_password.py:156 +#: lib/pp_admintools/app/set_ldap_password.py:241 msgid "" "If you are using a readonly LDAP instance or an instance w/o admin access, then you must provide" " somehow the current password of the user to change." msgstr "" -"Wenn eine LDAP-Instanz verwendet wird, die nur Leserechte oder keinen Admin-Zugriff hat, dann muss" -"irgendwie das neue Passwort des Nutzer zum Ändern angegeben werden." +"Wenn eine LDAP-Instanz verwendet wird, die nur Leserechte oder keinen Admin-Zugriff hat, dann " +"mussirgendwie das neue Passwort des Nutzer zum Ändern angegeben werden." -#: lib/pp_admintools/app/set_ldap_password.py:186 +#: lib/pp_admintools/app/set_ldap_password.py:290 msgid "Could not detect your current login name." msgstr "Konnte den aktuellen Anmeldenamen nicht ermitteln." -#: lib/pp_admintools/app/set_ldap_password.py:191 +#: lib/pp_admintools/app/set_ldap_password.py:295 msgid "The user {!r} will never be managed by LDAP." msgstr "Der Nutzer {!r} wird niemals nimmer nicht von LDAP gemanagt." -#: lib/pp_admintools/app/set_ldap_password.py:223 +#: lib/pp_admintools/app/set_ldap_password.py:325 +msgid "Usable Hashing schemes:" +msgstr "Verfügbare Hashing-Schemen:" + +#: lib/pp_admintools/app/set_ldap_password.py:334 +msgid "This schema cannot be used for authentication on a current freeradius server." +msgstr "" +"Dieses Schema kann nicht zur Authentifizierung an einem aktuellen Freeradius-Server verwendet " +"werden." + +#: lib/pp_admintools/app/set_ldap_password.py:338 +msgid "This is the default schema." +msgstr "Das ist das Vorgabe-Schema." + +#: lib/pp_admintools/app/set_ldap_password.py:357 msgid "Using LDAP instance {inst!r} - {url}." msgstr "Verwende LDAP-Instanz {inst!r} - {url}." -#: lib/pp_admintools/app/set_ldap_password.py:229 +#: lib/pp_admintools/app/set_ldap_password.py:363 msgid "Current password of user {!r}:" msgstr "Aktuelles Passwort des Nutzers {!r}:" -#: lib/pp_admintools/app/set_ldap_password.py:238 +#: lib/pp_admintools/app/set_ldap_password.py:372 msgid "New password of user {!r}:" msgstr "Neues Passwort für Nutzer {!r}:" -#: lib/pp_admintools/app/set_ldap_password.py:249 +#: lib/pp_admintools/app/set_ldap_password.py:386 msgid "Testing connect to LDAP-Server {url} with current user {dn!r} and password ..." msgstr "Teste eine Anmeldung am LDAP-Server {url} als aktueller Nutzer {dn!r} mit Passwort …" -#: lib/pp_admintools/app/set_ldap_password.py:261 +#: lib/pp_admintools/app/set_ldap_password.py:398 msgid "Successful connected as {dn!r} to {url}." msgstr "Erfolgreich als {dn!r} an {url} angemeldet." -#: lib/pp_admintools/app/set_ldap_password.py:266 +#: lib/pp_admintools/app/set_ldap_password.py:403 msgid "Could not connect to {url} as {dn!r}: {e}" msgstr "Nutzer {dn!r} konnte nicht an {url} angemeldet werden: {e}" -#: lib/pp_admintools/app/set_ldap_password.py:301 +#: lib/pp_admintools/app/set_ldap_password.py:428 +msgid "Trying to get current password hash of user {!r} ..." +msgstr "Versuche den aktuellen Passwort-Hash des Nutzers {!r} zu holen …" + +#: lib/pp_admintools/app/set_ldap_password.py:467 msgid "" "Please use another username, or use the correct DN from the following list as a parameter for " "this script instead of the username:" msgstr "" -"Bitte einen anderen Nutzernamen oder den richtigen DN aus der folgenden Liste als Parameter " -"für dieses Skript als Nutzername angeben:" +"Bitte einen anderen Nutzernamen oder den richtigen DN aus der folgenden Liste als Parameter für " +"dieses Skript als Nutzername angeben:" -#: lib/pp_admintools/app/set_ldap_password.py:318 +#: lib/pp_admintools/app/set_ldap_password.py:484 msgid "Changing the password of user {dn!r} in LDAP instance {inst}." msgstr "Ändern des Passwortes des Nutzers {dn!r} in der LDAP-Instanz {inst}." +#: lib/pp_admintools/app/set_ldap_password.py:491 +msgid "Setting password of {dn!r} with hashing schema {schema!r}." +msgstr "Setze das Passwort von {dn!r} mit dem Hashing-Schema {schema!r}." + +#: lib/pp_admintools/app/set_ldap_password.py:493 +msgid "Setting password of '{dn}' with hashing schema '{schema}' ..." +msgstr "Setze das Passwort von '{dn}' mit dem Hashing-Schema '{schema}'." + +#: lib/pp_admintools/app/set_ldap_password.py:498 +msgid "Current password hash: '{}'." +msgstr "Aktueller Passwort-Hash: '{}'" + +#: lib/pp_admintools/app/set_ldap_password.py:501 +msgid "The user '{}' has currently no password." +msgstr "Der Nutzer '{}' hat aktuell kein Passwort." + +#: lib/pp_admintools/app/set_ldap_password.py:505 +msgid "Used schema: {!r}." +msgstr "Verwendetes Schama : {!r}." + +#: lib/pp_admintools/app/set_ldap_password.py:507 +msgid "New password hash: '{}'." +msgstr "Neuer Passwort-Hash: '{}'." + +#: lib/pp_admintools/app/set_ldap_password.py:511 +msgid "Apply new password? [{yes}/{no}]?" +msgstr "Neues Passwort setzen [{yes}/{no}]?" + +#: lib/pp_admintools/app/set_ldap_password.py:521 +msgid "Do not setting password for {!r}." +msgstr "Passwort für {!r} wird nicht gesetzt." + +#: lib/pp_admintools/app/set_ldap_password.py:526 +msgid "Setting password ..." +msgstr "Setze Passwort …" + #: lib/pp_admintools/argparse_actions.py:45 msgid "Value {v!r} for a {what} port is invalid:" msgstr "Der Wert {v!r} für ein {what}-Port ist ungültig." diff --git a/locale/en_US/LC_MESSAGES/pp_admintools.po b/locale/en_US/LC_MESSAGES/pp_admintools.po index 44f4271..3638c8a 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-22 14:24+0200\n" -"PO-Revision-Date: 2022-09-22 14:25+0200\n" +"POT-Creation-Date: 2022-09-23 16:37+0200\n" +"PO-Revision-Date: 2022-09-24 16:20+0200\n" "Last-Translator: Frank Brehm \n" "Language: en_US\n" "Language-Team: Frank Brehm \n" @@ -31,6 +31,7 @@ msgid "Wrong timeout {!r}:" msgstr "" #: lib/pp_admintools/app/__init__.py:126 lib/pp_admintools/app/remove_ldap_user.py:278 +#: lib/pp_admintools/app/set_ldap_password.py:512 msgid "yes" msgstr "" @@ -46,8 +47,8 @@ msgstr "" msgid "Password:" msgstr "" -#: lib/pp_admintools/app/__init__.py:252 lib/pp_admintools/app/set_ldap_password.py:230 -#: lib/pp_admintools/app/set_ldap_password.py:239 +#: lib/pp_admintools/app/__init__.py:252 lib/pp_admintools/app/set_ldap_password.py:364 +#: lib/pp_admintools/app/set_ldap_password.py:373 msgid "Repeat password:" msgstr "" @@ -60,7 +61,7 @@ msgid "Interrupted on demand." msgstr "" #: lib/pp_admintools/app/__init__.py:304 lib/pp_admintools/app/__init__.py:309 -#: lib/pp_admintools/app/__init__.py:378 lib/pp_admintools/app/__init__.py:383 +#: lib/pp_admintools/app/__init__.py:379 lib/pp_admintools/app/__init__.py:384 msgid "Got a {}:" msgstr "" @@ -369,6 +370,7 @@ msgid "Options fo LDAP connections" msgstr "" #: lib/pp_admintools/app/ldap.py:267 lib/pp_admintools/app/remove_ldap_user.py:278 +#: lib/pp_admintools/app/set_ldap_password.py:512 msgid "No" msgstr "" @@ -405,9 +407,9 @@ msgstr "" msgid "The Bind DN to use to connect to the LDAP server. Default: {!r}" msgstr "" -#: lib/pp_admintools/app/ldap.py:311 lib/pp_admintools/app/set_ldap_password.py:124 -#: lib/pp_admintools/app/set_ldap_password.py:125 lib/pp_admintools/app/set_ldap_password.py:142 -#: lib/pp_admintools/app/set_ldap_password.py:145 +#: lib/pp_admintools/app/ldap.py:311 lib/pp_admintools/app/set_ldap_password.py:191 +#: lib/pp_admintools/app/set_ldap_password.py:192 lib/pp_admintools/app/set_ldap_password.py:209 +#: lib/pp_admintools/app/set_ldap_password.py:212 msgid "PASSWORD" msgstr "" @@ -421,8 +423,8 @@ msgid "" "command line." msgstr "" -#: lib/pp_admintools/app/ldap.py:323 lib/pp_admintools/app/set_ldap_password.py:136 -#: lib/pp_admintools/app/set_ldap_password.py:138 +#: lib/pp_admintools/app/ldap.py:323 lib/pp_admintools/app/set_ldap_password.py:203 +#: lib/pp_admintools/app/set_ldap_password.py:205 msgid "PASSWORD_FILE" msgstr "" @@ -521,11 +523,11 @@ msgstr "Finishing …" msgid "Disconnecting from all remaining LDAP instances ..." msgstr "Disconnecting from all remaining LDAP instances …" -#: lib/pp_admintools/app/ldap.py:665 lib/pp_admintools/app/set_ldap_password.py:273 +#: lib/pp_admintools/app/ldap.py:665 lib/pp_admintools/app/set_ldap_password.py:410 msgid "Unbinding from LDAP server {!r} ..." msgstr "Unbinding from LDAP server {!r} …" -#: lib/pp_admintools/app/ldap.py:672 lib/pp_admintools/app/set_ldap_password.py:280 +#: lib/pp_admintools/app/ldap.py:672 lib/pp_admintools/app/set_ldap_password.py:417 msgid "Disconnecting from LDAP server {!r} ..." msgstr "Disconnecting from LDAP server {!r} …" @@ -591,7 +593,7 @@ msgstr "" msgid "User with cn {cn!r} not found in {uri}/{bdn}." msgstr "" -#: lib/pp_admintools/app/ldap.py:887 +#: lib/pp_admintools/app/ldap.py:887 lib/pp_admintools/app/set_ldap_password.py:437 msgid "User with DN {dn!r} not found in {uri}." msgstr "" @@ -898,8 +900,8 @@ msgstr "" msgid "Removing the user from LDAP." msgstr "Removing the user from LDAP." -#: lib/pp_admintools/app/remove_ldap_user.py:136 lib/pp_admintools/app/set_ldap_password.py:162 -#: lib/pp_admintools/app/set_ldap_password.py:165 +#: lib/pp_admintools/app/remove_ldap_user.py:136 lib/pp_admintools/app/set_ldap_password.py:247 +#: lib/pp_admintools/app/set_ldap_password.py:250 msgid "USER" msgstr "" @@ -978,15 +980,15 @@ msgstr "" 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:308 lib/pp_admintools/app/set_ldap_password.py:294 +#: lib/pp_admintools/app/remove_ldap_user.py:308 lib/pp_admintools/app/set_ldap_password.py:460 msgid "Got DN {dn!r} for user {user!r} in LDAP instance {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:315 lib/pp_admintools/app/set_ldap_password.py:299 +#: lib/pp_admintools/app/remove_ldap_user.py:315 lib/pp_admintools/app/set_ldap_password.py:465 msgid "Found {nr} entries for user {u!r} in LDAP instance {i}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:327 lib/pp_admintools/app/set_ldap_password.py:313 +#: lib/pp_admintools/app/remove_ldap_user.py:327 lib/pp_admintools/app/set_ldap_password.py:479 msgid "Did not found user {user!r} in LDAP instance {inst}." msgstr "" @@ -1064,92 +1066,176 @@ msgstr "" msgid "Did not found any sudo group memberships of {uid!r} in {inst}." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:84 +#: lib/pp_admintools/app/set_ldap_password.py:90 +msgid "The ancient and notorious 3 DES crypt method." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:91 lib/pp_admintools/app/set_ldap_password.py:94 +msgid "Pure {} hashing method." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:92 lib/pp_admintools/app/set_ldap_password.py:95 +#: lib/pp_admintools/app/set_ldap_password.py:97 lib/pp_admintools/app/set_ldap_password.py:99 +msgid "A {} based hashing algorithm." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:93 lib/pp_admintools/app/set_ldap_password.py:96 +#: lib/pp_admintools/app/set_ldap_password.py:98 lib/pp_admintools/app/set_ldap_password.py:100 +msgid "Salted {} hashing method." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:101 +msgid "A hashing method derived from {} with additional computing rounds." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:148 msgid "" "Changing the password of the given user. If no user was given, then {app} tries to use the name " "of the user logged in on the controlling terminal." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:118 +#: lib/pp_admintools/app/set_ldap_password.py:185 msgid "Options for {}" msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:125 +#: lib/pp_admintools/app/set_ldap_password.py:192 msgid "Use {} as the current user password." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:130 +#: lib/pp_admintools/app/set_ldap_password.py:197 msgid "" "Prompt for current user password. This is used instead of specifying the password on the command" " line." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:138 +#: lib/pp_admintools/app/set_ldap_password.py:205 msgid "Use contents of {} as the current user password." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:143 +#: lib/pp_admintools/app/set_ldap_password.py:210 msgid "Use {} as the new user password. If not given, it will be asked for it." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:148 +#: lib/pp_admintools/app/set_ldap_password.py:225 +msgid "SCHEMA" +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:226 +msgid "" +"The schema (hashing method) to use to hash the new password. It is possible to give here the " +"value {val_list!r}, then all possible schemes are shown and exit. Default: {default!r}." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:233 msgid "" "The user, which password in the given LDAP instance should be changed. It may be given by its " "Uid (the alphanumeric POSIX name), its mail address or its LDAP DN." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:153 +#: lib/pp_admintools/app/set_ldap_password.py:238 msgid "If not given, then your current user name {!r} will be used." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:156 +#: lib/pp_admintools/app/set_ldap_password.py:241 msgid "" "If you are using a readonly LDAP instance or an instance w/o admin access, then you must provide" " somehow the current password of the user to change." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:186 +#: lib/pp_admintools/app/set_ldap_password.py:290 msgid "Could not detect your current login name." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:191 +#: lib/pp_admintools/app/set_ldap_password.py:295 msgid "The user {!r} will never be managed by LDAP." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:223 +#: lib/pp_admintools/app/set_ldap_password.py:325 +msgid "Usable Hashing schemes:" +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:334 +msgid "This schema cannot be used for authentication on a current freeradius server." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:338 +msgid "This is the default schema." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:357 msgid "Using LDAP instance {inst!r} - {url}." msgstr "Using LDAP instance {inst!r} - {url}." -#: lib/pp_admintools/app/set_ldap_password.py:229 +#: lib/pp_admintools/app/set_ldap_password.py:363 msgid "Current password of user {!r}:" msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:238 +#: lib/pp_admintools/app/set_ldap_password.py:372 msgid "New password of user {!r}:" msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:249 +#: lib/pp_admintools/app/set_ldap_password.py:386 msgid "Testing connect to LDAP-Server {url} with current user {dn!r} and password ..." -msgstr "" +msgstr "Testing connect to LDAP-Server {url} with current user {dn!r} and password …" -#: lib/pp_admintools/app/set_ldap_password.py:261 +#: lib/pp_admintools/app/set_ldap_password.py:398 msgid "Successful connected as {dn!r} to {url}." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:266 +#: lib/pp_admintools/app/set_ldap_password.py:403 msgid "Could not connect to {url} as {dn!r}: {e}" msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:301 +#: lib/pp_admintools/app/set_ldap_password.py:428 +msgid "Trying to get current password hash of user {!r} ..." +msgstr "Trying to get current password hash of user {!r} …" + +#: lib/pp_admintools/app/set_ldap_password.py:467 msgid "" "Please use another username, or use the correct DN from the following list as a parameter for " "this script instead of the username:" msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:318 +#: lib/pp_admintools/app/set_ldap_password.py:484 msgid "Changing the password of user {dn!r} in LDAP instance {inst}." msgstr "Changing the password of user {dn!r} in LDAP instance {inst}." +#: lib/pp_admintools/app/set_ldap_password.py:491 +msgid "Setting password of {dn!r} with hashing schema {schema!r}." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:493 +msgid "Setting password of '{dn}' with hashing schema '{schema}' ..." +msgstr "Setting password of '{dn}' with hashing schema '{schema}' …" + +#: lib/pp_admintools/app/set_ldap_password.py:498 +msgid "Current password hash: '{}'." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:501 +msgid "The user '{}' has currently no password." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:505 +msgid "Used schema: {!r}." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:507 +msgid "New password hash: '{}'." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:511 +msgid "Apply new password? [{yes}/{no}]?" +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:521 +msgid "Do not setting password for {!r}." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:526 +msgid "Setting password ..." +msgstr "Setting password …" + #: lib/pp_admintools/argparse_actions.py:45 msgid "Value {v!r} for a {what} port is invalid:" msgstr "" diff --git a/locale/pp_admintools.pot b/locale/pp_admintools.pot index 6f2c175..ba28ff1 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-22 14:24+0200\n" +"POT-Creation-Date: 2022-09-23 16:37+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -30,6 +30,7 @@ msgid "Wrong timeout {!r}:" msgstr "" #: lib/pp_admintools/app/__init__.py:126 lib/pp_admintools/app/remove_ldap_user.py:278 +#: lib/pp_admintools/app/set_ldap_password.py:512 msgid "yes" msgstr "" @@ -45,8 +46,8 @@ msgstr "" msgid "Password:" msgstr "" -#: lib/pp_admintools/app/__init__.py:252 lib/pp_admintools/app/set_ldap_password.py:230 -#: lib/pp_admintools/app/set_ldap_password.py:239 +#: lib/pp_admintools/app/__init__.py:252 lib/pp_admintools/app/set_ldap_password.py:364 +#: lib/pp_admintools/app/set_ldap_password.py:373 msgid "Repeat password:" msgstr "" @@ -59,7 +60,7 @@ msgid "Interrupted on demand." msgstr "" #: lib/pp_admintools/app/__init__.py:304 lib/pp_admintools/app/__init__.py:309 -#: lib/pp_admintools/app/__init__.py:378 lib/pp_admintools/app/__init__.py:383 +#: lib/pp_admintools/app/__init__.py:379 lib/pp_admintools/app/__init__.py:384 msgid "Got a {}:" msgstr "" @@ -368,6 +369,7 @@ msgid "Options fo LDAP connections" msgstr "" #: lib/pp_admintools/app/ldap.py:267 lib/pp_admintools/app/remove_ldap_user.py:278 +#: lib/pp_admintools/app/set_ldap_password.py:512 msgid "No" msgstr "" @@ -404,9 +406,9 @@ msgstr "" msgid "The Bind DN to use to connect to the LDAP server. Default: {!r}" msgstr "" -#: lib/pp_admintools/app/ldap.py:311 lib/pp_admintools/app/set_ldap_password.py:124 -#: lib/pp_admintools/app/set_ldap_password.py:125 lib/pp_admintools/app/set_ldap_password.py:142 -#: lib/pp_admintools/app/set_ldap_password.py:145 +#: lib/pp_admintools/app/ldap.py:311 lib/pp_admintools/app/set_ldap_password.py:191 +#: lib/pp_admintools/app/set_ldap_password.py:192 lib/pp_admintools/app/set_ldap_password.py:209 +#: lib/pp_admintools/app/set_ldap_password.py:212 msgid "PASSWORD" msgstr "" @@ -420,8 +422,8 @@ msgid "" "command line." msgstr "" -#: lib/pp_admintools/app/ldap.py:323 lib/pp_admintools/app/set_ldap_password.py:136 -#: lib/pp_admintools/app/set_ldap_password.py:138 +#: lib/pp_admintools/app/ldap.py:323 lib/pp_admintools/app/set_ldap_password.py:203 +#: lib/pp_admintools/app/set_ldap_password.py:205 msgid "PASSWORD_FILE" msgstr "" @@ -520,11 +522,11 @@ msgstr "" msgid "Disconnecting from all remaining LDAP instances ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:665 lib/pp_admintools/app/set_ldap_password.py:273 +#: lib/pp_admintools/app/ldap.py:665 lib/pp_admintools/app/set_ldap_password.py:410 msgid "Unbinding from LDAP server {!r} ..." msgstr "" -#: lib/pp_admintools/app/ldap.py:672 lib/pp_admintools/app/set_ldap_password.py:280 +#: lib/pp_admintools/app/ldap.py:672 lib/pp_admintools/app/set_ldap_password.py:417 msgid "Disconnecting from LDAP server {!r} ..." msgstr "" @@ -590,7 +592,7 @@ msgstr "" msgid "User with cn {cn!r} not found in {uri}/{bdn}." msgstr "" -#: lib/pp_admintools/app/ldap.py:887 +#: lib/pp_admintools/app/ldap.py:887 lib/pp_admintools/app/set_ldap_password.py:437 msgid "User with DN {dn!r} not found in {uri}." msgstr "" @@ -897,8 +899,8 @@ msgstr "" msgid "Removing the user from LDAP." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:136 lib/pp_admintools/app/set_ldap_password.py:162 -#: lib/pp_admintools/app/set_ldap_password.py:165 +#: lib/pp_admintools/app/remove_ldap_user.py:136 lib/pp_admintools/app/set_ldap_password.py:247 +#: lib/pp_admintools/app/set_ldap_password.py:250 msgid "USER" msgstr "" @@ -977,15 +979,15 @@ msgstr "" msgid "Evaluating DNs of the user {!r} to remove ..." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:308 lib/pp_admintools/app/set_ldap_password.py:294 +#: lib/pp_admintools/app/remove_ldap_user.py:308 lib/pp_admintools/app/set_ldap_password.py:460 msgid "Got DN {dn!r} for user {user!r} in LDAP instance {inst}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:315 lib/pp_admintools/app/set_ldap_password.py:299 +#: lib/pp_admintools/app/remove_ldap_user.py:315 lib/pp_admintools/app/set_ldap_password.py:465 msgid "Found {nr} entries for user {u!r} in LDAP instance {i}." msgstr "" -#: lib/pp_admintools/app/remove_ldap_user.py:327 lib/pp_admintools/app/set_ldap_password.py:313 +#: lib/pp_admintools/app/remove_ldap_user.py:327 lib/pp_admintools/app/set_ldap_password.py:479 msgid "Did not found user {user!r} in LDAP instance {inst}." msgstr "" @@ -1063,92 +1065,176 @@ msgstr "" msgid "Did not found any sudo group memberships of {uid!r} in {inst}." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:84 +#: lib/pp_admintools/app/set_ldap_password.py:90 +msgid "The ancient and notorious 3 DES crypt method." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:91 lib/pp_admintools/app/set_ldap_password.py:94 +msgid "Pure {} hashing method." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:92 lib/pp_admintools/app/set_ldap_password.py:95 +#: lib/pp_admintools/app/set_ldap_password.py:97 lib/pp_admintools/app/set_ldap_password.py:99 +msgid "A {} based hashing algorithm." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:93 lib/pp_admintools/app/set_ldap_password.py:96 +#: lib/pp_admintools/app/set_ldap_password.py:98 lib/pp_admintools/app/set_ldap_password.py:100 +msgid "Salted {} hashing method." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:101 +msgid "A hashing method derived from {} with additional computing rounds." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:148 msgid "" "Changing the password of the given user. If no user was given, then {app} tries to use the name " "of the user logged in on the controlling terminal." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:118 +#: lib/pp_admintools/app/set_ldap_password.py:185 msgid "Options for {}" msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:125 +#: lib/pp_admintools/app/set_ldap_password.py:192 msgid "Use {} as the current user password." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:130 +#: lib/pp_admintools/app/set_ldap_password.py:197 msgid "" "Prompt for current user password. This is used instead of specifying the password on the command" " line." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:138 +#: lib/pp_admintools/app/set_ldap_password.py:205 msgid "Use contents of {} as the current user password." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:143 +#: lib/pp_admintools/app/set_ldap_password.py:210 msgid "Use {} as the new user password. If not given, it will be asked for it." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:148 +#: lib/pp_admintools/app/set_ldap_password.py:225 +msgid "SCHEMA" +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:226 +msgid "" +"The schema (hashing method) to use to hash the new password. It is possible to give here the " +"value {val_list!r}, then all possible schemes are shown and exit. Default: {default!r}." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:233 msgid "" "The user, which password in the given LDAP instance should be changed. It may be given by its " "Uid (the alphanumeric POSIX name), its mail address or its LDAP DN." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:153 +#: lib/pp_admintools/app/set_ldap_password.py:238 msgid "If not given, then your current user name {!r} will be used." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:156 +#: lib/pp_admintools/app/set_ldap_password.py:241 msgid "" "If you are using a readonly LDAP instance or an instance w/o admin access, then you must provide" " somehow the current password of the user to change." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:186 +#: lib/pp_admintools/app/set_ldap_password.py:290 msgid "Could not detect your current login name." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:191 +#: lib/pp_admintools/app/set_ldap_password.py:295 msgid "The user {!r} will never be managed by LDAP." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:223 +#: lib/pp_admintools/app/set_ldap_password.py:325 +msgid "Usable Hashing schemes:" +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:334 +msgid "This schema cannot be used for authentication on a current freeradius server." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:338 +msgid "This is the default schema." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:357 msgid "Using LDAP instance {inst!r} - {url}." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:229 +#: lib/pp_admintools/app/set_ldap_password.py:363 msgid "Current password of user {!r}:" msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:238 +#: lib/pp_admintools/app/set_ldap_password.py:372 msgid "New password of user {!r}:" msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:249 +#: lib/pp_admintools/app/set_ldap_password.py:386 msgid "Testing connect to LDAP-Server {url} with current user {dn!r} and password ..." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:261 +#: lib/pp_admintools/app/set_ldap_password.py:398 msgid "Successful connected as {dn!r} to {url}." msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:266 +#: lib/pp_admintools/app/set_ldap_password.py:403 msgid "Could not connect to {url} as {dn!r}: {e}" msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:301 +#: lib/pp_admintools/app/set_ldap_password.py:428 +msgid "Trying to get current password hash of user {!r} ..." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:467 msgid "" "Please use another username, or use the correct DN from the following list as a parameter for " "this script instead of the username:" msgstr "" -#: lib/pp_admintools/app/set_ldap_password.py:318 +#: lib/pp_admintools/app/set_ldap_password.py:484 msgid "Changing the password of user {dn!r} in LDAP instance {inst}." msgstr "" +#: lib/pp_admintools/app/set_ldap_password.py:491 +msgid "Setting password of {dn!r} with hashing schema {schema!r}." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:493 +msgid "Setting password of '{dn}' with hashing schema '{schema}' ..." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:498 +msgid "Current password hash: '{}'." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:501 +msgid "The user '{}' has currently no password." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:505 +msgid "Used schema: {!r}." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:507 +msgid "New password hash: '{}'." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:511 +msgid "Apply new password? [{yes}/{no}]?" +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:521 +msgid "Do not setting password for {!r}." +msgstr "" + +#: lib/pp_admintools/app/set_ldap_password.py:526 +msgid "Setting password ..." +msgstr "" + #: lib/pp_admintools/argparse_actions.py:45 msgid "Value {v!r} for a {what} port is invalid:" msgstr ""