Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • mika/sssd
  • guillem/debian-pkg-sssd
  • john.veitch/sssd
  • jgullberg/sssd
  • gioele/sssd
  • oktay454/sssd
  • sergiodj/sssd
  • 3v1n0/sssd
  • jfalk-guest/sssd
  • sathieu/sssd
  • dpward/sssd
  • sssd-team/sssd
  • ahasenack/sssd
  • jbicha/sssd
  • yrro-guest/sssd
15 results
Show changes
Commits on Source (57)
Showing with 243 additions and 175 deletions
......@@ -19,16 +19,16 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: sssd-devel@lists.fedorahosted.org\n"
"POT-Creation-Date: 2023-05-05 10:11+0200\n"
"PO-Revision-Date: 2023-03-21 09:20+0000\n"
"Last-Translator: grimst <grimaitres@gmail.com>\n"
"PO-Revision-Date: 2023-06-10 12:20+0000\n"
"Last-Translator: Ludek Janda <ljanda@redhat.com>\n"
"Language-Team: French <https://translate.fedoraproject.org/projects/sssd/"
"sssd-master/fr/>\n"
"sssd-2-9/fr/>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.15.2\n"
"X-Generator: Weblate 4.17\n"
#: src/config/SSSDConfig/sssdoptions.py:20
#: src/config/SSSDConfig/sssdoptions.py:21
......@@ -184,9 +184,8 @@ msgstr ""
"Activer ou désactiver les vidages de noyau pour tous les processus SSSD."
#: src/config/SSSDConfig/sssdoptions.py:58
#, fuzzy
msgid "Tune passkey verification behavior"
msgstr "Régler la vérification du certificat"
msgstr "Ajustez le comportement de la vérification de la clé de sécurité"
#: src/config/SSSDConfig/sssdoptions.py:61
msgid "Enumeration cache timeout length (seconds)"
......@@ -435,18 +434,17 @@ msgstr ""
"appliquées pour l'accès PAM avec authentification GSSAPI"
#: src/config/SSSDConfig/sssdoptions.py:117
#, fuzzy
msgid "Allow passkey device authentication."
msgstr "Autoriser l'authentification par certificat/carte à puce."
msgstr "Autoriser l'authentification des périphériques par mot de passe."
#: src/config/SSSDConfig/sssdoptions.py:118
#, fuzzy
msgid "How many seconds will pam_sss wait for passkey_child to finish"
msgstr "Combien de secondes pam_sss attendra-t-il la fin de p11_child"
msgstr ""
"Combien de secondes pam_sss attendra-t-il que passkey_child ait terminé ?"
#: src/config/SSSDConfig/sssdoptions.py:119
msgid "Enable debugging in the libfido2 library"
msgstr ""
msgstr "Activer le débogage dans la bibliothèque libfido2"
#: src/config/SSSDConfig/sssdoptions.py:122
msgid "Whether to evaluate the time-based attributes in sudo rules"
......@@ -1658,9 +1656,8 @@ msgid "attribute containing the email address of the user"
msgstr "attribut contenant l’adresse email de l'utilisateur"
#: src/config/SSSDConfig/sssdoptions.py:449
#, fuzzy
msgid "attribute containing the passkey mapping data of the user"
msgstr "attribut contenant l’adresse email de l'utilisateur"
msgstr "attribut contenant les données de mappage de la clé de l'utilisateur"
#: src/config/SSSDConfig/sssdoptions.py:450
msgid "A list of extra attributes to download along with the user entry"
......@@ -2231,7 +2228,7 @@ msgstr "Message du serveur : "
#: src/sss_client/pam_sss.c:71
msgid "Enter PIN:"
msgstr ""
msgstr "Saisissez le code PIN :"
#: src/sss_client/pam_sss.c:314
msgid "Passwords do not match"
......@@ -2262,9 +2259,9 @@ msgid "Your password will expire in %1$d %2$s."
msgstr "Votre mot de passe expirera dans %1$d %2$s."
#: src/sss_client/pam_sss.c:627
#, fuzzy, c-format
#, c-format
msgid "Your password has expired."
msgstr "Votre mot de passe expirera dans %1$d %2$s."
msgstr "Votre mot de passe a expiré."
#: src/sss_client/pam_sss.c:678
msgid "Authentication is denied until: "
......@@ -2327,7 +2324,7 @@ msgstr "Second facteur : "
#: src/sss_client/pam_sss.c:2547
msgid "Insert your passkey device, then press ENTER."
msgstr ""
msgstr "Insérez votre passe-partout, puis appuyez sur la touche ENTER."
#: src/sss_client/pam_sss.c:2551 src/sss_client/pam_sss.c:2554
msgid "Password: "
......@@ -2684,9 +2681,8 @@ msgid "Passkey related tools:"
msgstr "Outils liés à la clé d’accès :"
#: src/tools/sssctl/sssctl.c:348
#, fuzzy
msgid "Perform passkey registration"
msgstr "Effectuer des opérations liées à la clé daccès"
msgstr "Effectuer l'enregistrement de la clé d'accès"
#: src/tools/sssctl/sssctl_cache.c:31
#, c-format
......@@ -2868,9 +2864,8 @@ msgid "Error while reading configuration directory.\n"
msgstr "Erreur lors de la lecture du répertoire de configuration.\n"
#: src/tools/sssctl/sssctl_config.c:147
#, fuzzy
msgid "There is no configuration.\n"
msgstr "Impossible de charger la configuration à partir de %s.\n"
msgstr "Il n'y a pas de configuration.\n"
#: src/tools/sssctl/sssctl_config.c:157
msgid "Failed to run validators"
......
......@@ -15,16 +15,16 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: sssd-devel@lists.fedorahosted.org\n"
"POT-Creation-Date: 2023-05-05 10:11+0200\n"
"PO-Revision-Date: 2023-03-02 09:20+0000\n"
"PO-Revision-Date: 2023-06-10 12:20+0000\n"
"Last-Translator: Ludek Janda <ljanda@redhat.com>\n"
"Language-Team: Japanese <https://translate.fedoraproject.org/projects/sssd/"
"sssd-master/ja/>\n"
"sssd-2-9/ja/>\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.15.2\n"
"X-Generator: Weblate 4.17\n"
#: src/config/SSSDConfig/sssdoptions.py:20
#: src/config/SSSDConfig/sssdoptions.py:21
......@@ -172,9 +172,8 @@ msgid "Enable or disable core dumps for all SSSD processes."
msgstr "すべての SSSD プロセスのコアダンプを有効または無効にします。"
#: src/config/SSSDConfig/sssdoptions.py:58
#, fuzzy
msgid "Tune passkey verification behavior"
msgstr "証明書検証の調整"
msgstr "パスキー検証の動作をチューニングする"
#: src/config/SSSDConfig/sssdoptions.py:61
msgid "Enumeration cache timeout length (seconds)"
......@@ -397,18 +396,16 @@ msgstr ""
"<authentication indicator> のリスト"
#: src/config/SSSDConfig/sssdoptions.py:117
#, fuzzy
msgid "Allow passkey device authentication."
msgstr "証明書ベースまたはスマートカードによる認証を許可します。"
msgstr "パスキーデバイス認証を許可します。"
#: src/config/SSSDConfig/sssdoptions.py:118
#, fuzzy
msgid "How many seconds will pam_sss wait for passkey_child to finish"
msgstr "p11_child が完了するまでに pam_sss が待つ秒数"
msgstr "pam_sss が passkey_child の終了を待機する秒数"
#: src/config/SSSDConfig/sssdoptions.py:119
msgid "Enable debugging in the libfido2 library"
msgstr ""
msgstr "lifido2 ライブラリーでデバッグを有効にする"
#: src/config/SSSDConfig/sssdoptions.py:122
msgid "Whether to evaluate the time-based attributes in sudo rules"
......@@ -1538,9 +1535,8 @@ msgid "attribute containing the email address of the user"
msgstr "ユーザーの電子メールアドレスを含む属性"
#: src/config/SSSDConfig/sssdoptions.py:449
#, fuzzy
msgid "attribute containing the passkey mapping data of the user"
msgstr "ユーザーの電子メールアドレスを含む属性"
msgstr "ユーザーのパスキーマッピングデータを含む属性"
#: src/config/SSSDConfig/sssdoptions.py:450
msgid "A list of extra attributes to download along with the user entry"
......@@ -2094,7 +2090,7 @@ msgstr "サーバーのメッセージ: "
#: src/sss_client/pam_sss.c:71
msgid "Enter PIN:"
msgstr ""
msgstr "PIN の入力:"
#: src/sss_client/pam_sss.c:314
msgid "Passwords do not match"
......@@ -2123,9 +2119,9 @@ msgid "Your password will expire in %1$d %2$s."
msgstr "あなたのパスワードは %1$d %2$s に期限切れになります。"
#: src/sss_client/pam_sss.c:627
#, fuzzy, c-format
#, c-format
msgid "Your password has expired."
msgstr "あなたのパスワードは %1$d %2$s に期限切れになります。"
msgstr "パスワードの有効期限切れています。"
#: src/sss_client/pam_sss.c:678
msgid "Authentication is denied until: "
......@@ -2187,7 +2183,7 @@ msgstr "2 番目の要素: "
#: src/sss_client/pam_sss.c:2547
msgid "Insert your passkey device, then press ENTER."
msgstr ""
msgstr "パスキーデバイスを挿入し、ENTER キーを押します。"
#: src/sss_client/pam_sss.c:2551 src/sss_client/pam_sss.c:2554
msgid "Password: "
......@@ -2539,9 +2535,8 @@ msgid "Passkey related tools:"
msgstr "パスキー関連のツール:"
#: src/tools/sssctl/sssctl.c:348
#, fuzzy
msgid "Perform passkey registration"
msgstr "パスキー関連の操作を実行します"
msgstr "パスキー登録の実行"
#: src/tools/sssctl/sssctl_cache.c:31
#, c-format
......@@ -2723,9 +2718,8 @@ msgid "Error while reading configuration directory.\n"
msgstr "設定ディレクトリーの読み込み中にエラーが発生しました。\n"
#: src/tools/sssctl/sssctl_config.c:147
#, fuzzy
msgid "There is no configuration.\n"
msgstr "%s からの設定の読み込みに失敗しました。\n"
msgstr "設定はありません。\n"
#: src/tools/sssctl/sssctl_config.c:157
msgid "Failed to run validators"
......@@ -3044,7 +3038,7 @@ msgstr "IFP サービスをターゲットに設定"
#: src/tools/sssctl/sssctl_logs.c:552
msgid "Specify debug level you want to set"
msgstr "設定したいデバッグレベルを指定します"
msgstr "設定するデバッグレベルを指定します"
#: src/tools/sssctl/sssctl_logs.c:600
msgid "ERROR: Tevent chain ID support missing, log analyzer is unsupported.\n"
......@@ -3082,17 +3076,17 @@ msgstr "SSSD nss ユーザー検索の結果:\n"
#: src/tools/sssctl/sssctl_user_checks.c:195
#, c-format
msgid " - user name: %s\n"
msgstr " - user name: %s\n"
msgstr " - ユーザー名: %s\n"
#: src/tools/sssctl/sssctl_user_checks.c:196
#, c-format
msgid " - user id: %d\n"
msgstr " - user id: %d\n"
msgstr " - ユーザー id: %d\n"
#: src/tools/sssctl/sssctl_user_checks.c:197
#, c-format
msgid " - group id: %d\n"
msgstr " - group id: %d\n"
msgstr " - グループ id: %d\n"
#: src/tools/sssctl/sssctl_user_checks.c:198
#, c-format
......@@ -3102,7 +3096,7 @@ msgstr " - gecos: %s\n"
#: src/tools/sssctl/sssctl_user_checks.c:199
#, c-format
msgid " - home directory: %s\n"
msgstr " - home directory: %s\n"
msgstr " - ホームディレクトリー: %s\n"
#: src/tools/sssctl/sssctl_user_checks.c:200
#, c-format
......
......@@ -7,16 +7,16 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: sssd-devel@lists.fedorahosted.org\n"
"POT-Creation-Date: 2023-05-05 10:11+0200\n"
"PO-Revision-Date: 2023-02-25 10:20+0000\n"
"PO-Revision-Date: 2023-06-04 04:20+0000\n"
"Last-Translator: Temuri Doghonadze <temuri.doghonadze@gmail.com>\n"
"Language-Team: Georgian <https://translate.fedoraproject.org/projects/sssd/"
"sssd-master/ka/>\n"
"sssd-2-9/ka/>\n"
"Language: ka\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.15.2\n"
"X-Generator: Weblate 4.17\n"
#: src/config/SSSDConfig/sssdoptions.py:20
#: src/config/SSSDConfig/sssdoptions.py:21
......@@ -2043,7 +2043,7 @@ msgstr ""
#: src/sss_client/pam_sss.c:816 src/sss_client/pam_sss.c:829
msgid "Password change failed. "
msgstr ""
msgstr "პაროლის შეცვლის შეცდომა. "
#: src/sss_client/pam_sss.c:1797
#, c-format
......@@ -2829,7 +2829,7 @@ msgstr ""
#: src/tools/sssctl/sssctl_logs.c:51
msgid "\n"
msgstr ""
msgstr "\n"
#: src/tools/sssctl/sssctl_logs.c:215
msgid "SSSD is not running.\n"
......
......@@ -11,16 +11,16 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: sssd-devel@lists.fedorahosted.org\n"
"POT-Creation-Date: 2023-05-05 10:11+0200\n"
"PO-Revision-Date: 2022-12-12 14:09+0000\n"
"PO-Revision-Date: 2023-06-04 04:20+0000\n"
"Last-Translator: 김인수 <simmon@nplob.com>\n"
"Language-Team: Korean <https://translate.fedoraproject.org/projects/sssd/"
"sssd-master/ko/>\n"
"sssd-2-9/ko/>\n"
"Language: ko\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.14.2\n"
"X-Generator: Weblate 4.17\n"
#: src/config/SSSDConfig/sssdoptions.py:20
#: src/config/SSSDConfig/sssdoptions.py:21
......@@ -167,9 +167,8 @@ msgid "Enable or disable core dumps for all SSSD processes."
msgstr "SSSD 프로세서를 위한 코어 덤프 활성화 또는 비활성화."
#: src/config/SSSDConfig/sssdoptions.py:58
#, fuzzy
msgid "Tune passkey verification behavior"
msgstr "인증 확인을 조정합니다"
msgstr "패스키 확인 동작을 조정합니다"
#: src/config/SSSDConfig/sssdoptions.py:61
msgid "Enumeration cache timeout length (seconds)"
......@@ -386,18 +385,16 @@ msgstr ""
"목록"
#: src/config/SSSDConfig/sssdoptions.py:117
#, fuzzy
msgid "Allow passkey device authentication."
msgstr "인증서 기반/스마트 카드 인증을 허용합니다."
msgstr "패스키 장치 인증을 허용합니다."
#: src/config/SSSDConfig/sssdoptions.py:118
#, fuzzy
msgid "How many seconds will pam_sss wait for passkey_child to finish"
msgstr "p11_child가 완료될 때까지 pam_ss가 몇 초 동안 대기합니까"
msgstr "passkey_child가 완료될 때까지 pam_sss가 몇 초 동안 대기합니까"
#: src/config/SSSDConfig/sssdoptions.py:119
msgid "Enable debugging in the libfido2 library"
msgstr ""
msgstr "libfido2 라이브러리에서 디버깅 활성화"
#: src/config/SSSDConfig/sssdoptions.py:122
msgid "Whether to evaluate the time-based attributes in sudo rules"
......@@ -1511,13 +1508,12 @@ msgid "attribute containing the email address of the user"
msgstr "사용자의 이메일 주소를 포함하는 속성"
#: src/config/SSSDConfig/sssdoptions.py:449
#, fuzzy
msgid "attribute containing the passkey mapping data of the user"
msgstr "사용자의 이메일 주소를 포함하는 속성"
msgstr "사용자의 패스키 대응 자료를 포함하는 속성"
#: src/config/SSSDConfig/sssdoptions.py:450
msgid "A list of extra attributes to download along with the user entry"
msgstr "사용자 항목과 함께 다운로드할 추가 속성 목록"
msgstr "사용자 항목과 함께 내려받기 하려는 추가 속성 목록"
#: src/config/SSSDConfig/sssdoptions.py:452
msgid "Base DN for group lookups"
......@@ -2065,7 +2061,7 @@ msgstr "서버 메시지: "
#: src/sss_client/pam_sss.c:71
msgid "Enter PIN:"
msgstr ""
msgstr "PIN 입력:"
#: src/sss_client/pam_sss.c:314
msgid "Passwords do not match"
......@@ -2094,9 +2090,9 @@ msgid "Your password will expire in %1$d %2$s."
msgstr "암호는 %1$d %2$s에 만료됩니다."
#: src/sss_client/pam_sss.c:627
#, fuzzy, c-format
#, c-format
msgid "Your password has expired."
msgstr "암호는 %1$d %2$s에 만료됩니다."
msgstr "당신의 비밀번호가 만료되었습니다."
#: src/sss_client/pam_sss.c:678
msgid "Authentication is denied until: "
......@@ -2157,7 +2153,7 @@ msgstr "두 번째 요인: "
#: src/sss_client/pam_sss.c:2547
msgid "Insert your passkey device, then press ENTER."
msgstr ""
msgstr "자신의 패스키 장치를 넣고, 그런 후에 Enter를 눌러주세요."
#: src/sss_client/pam_sss.c:2551 src/sss_client/pam_sss.c:2554
msgid "Password: "
......@@ -2508,9 +2504,8 @@ msgid "Passkey related tools:"
msgstr "Passkey와 연관된 도구:"
#: src/tools/sssctl/sssctl.c:348
#, fuzzy
msgid "Perform passkey registration"
msgstr "passkey와 연관된 동작을 수행합니다"
msgstr "패스키 등록을 수행합니다"
#: src/tools/sssctl/sssctl_cache.c:31
#, c-format
......@@ -2688,9 +2683,8 @@ msgid "Error while reading configuration directory.\n"
msgstr "설정 디렉토리를 읽는 도중 오류가 발생했습니다.\n"
#: src/tools/sssctl/sssctl_config.c:147
#, fuzzy
msgid "There is no configuration.\n"
msgstr "%s에서 구성을 로드하지 못했습니다.\n"
msgstr "구성이 없습니다.\n"
#: src/tools/sssctl/sssctl_config.c:157
msgid "Failed to run validators"
......
......@@ -16,17 +16,17 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: sssd-devel@lists.fedorahosted.org\n"
"POT-Creation-Date: 2023-05-05 10:11+0200\n"
"PO-Revision-Date: 2022-12-12 12:44+0000\n"
"PO-Revision-Date: 2023-06-05 13:20+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Polish <https://translate.fedoraproject.org/projects/sssd/"
"sssd-master/pl/>\n"
"sssd-2-9/pl/>\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.14.2\n"
"X-Generator: Weblate 4.17\n"
#: src/config/SSSDConfig/sssdoptions.py:20
#: src/config/SSSDConfig/sssdoptions.py:21
......@@ -182,9 +182,8 @@ msgid "Enable or disable core dumps for all SSSD processes."
msgstr "Włącza lub wyłącza zrzuty core dla wszystkich procesów SSSD."
#: src/config/SSSDConfig/sssdoptions.py:58
#, fuzzy
msgid "Tune passkey verification behavior"
msgstr "Dostraja sprawdzanie poprawności certyfikatów"
msgstr "Dostraja zachowanie sprawdzania poprawności haseł-kluczy"
#: src/config/SSSDConfig/sssdoptions.py:61
msgid "Enumeration cache timeout length (seconds)"
......@@ -418,18 +417,16 @@ msgstr ""
"wymuszone dla dostępu PAM za pomocą uwierzytelniania GSSAPI"
#: src/config/SSSDConfig/sssdoptions.py:117
#, fuzzy
msgid "Allow passkey device authentication."
msgstr "Zezwala na uwierzytelnianie za pomocą certyfikatów/smartcard."
msgstr "Zezwala na uwierzytelnianie za pomocą urządzenia hasła-klucza."
#: src/config/SSSDConfig/sssdoptions.py:118
#, fuzzy
msgid "How many seconds will pam_sss wait for passkey_child to finish"
msgstr "Ile sekund pam_sss ma oczekiwać na ukończenie p11_child"
msgstr "Ile sekund pam_sss ma oczekiwać na ukończenie passkey_child"
#: src/config/SSSDConfig/sssdoptions.py:119
msgid "Enable debugging in the libfido2 library"
msgstr ""
msgstr "Włącza debugowanie w bibliotece libfido2"
#: src/config/SSSDConfig/sssdoptions.py:122
msgid "Whether to evaluate the time-based attributes in sudo rules"
......@@ -1601,9 +1598,8 @@ msgid "attribute containing the email address of the user"
msgstr "atrybut zawierający adres e-mail użytkownika"
#: src/config/SSSDConfig/sssdoptions.py:449
#, fuzzy
msgid "attribute containing the passkey mapping data of the user"
msgstr "atrybut zawierający adres e-mail użytkownika"
msgstr "atrybut zawierający dane mapowania hasła-klucza użytkownika"
#: src/config/SSSDConfig/sssdoptions.py:450
msgid "A list of extra attributes to download along with the user entry"
......@@ -2161,7 +2157,7 @@ msgstr "Komunikat serwera: "
#: src/sss_client/pam_sss.c:71
msgid "Enter PIN:"
msgstr ""
msgstr "Proszę podać kod PIN:"
#: src/sss_client/pam_sss.c:314
msgid "Passwords do not match"
......@@ -2190,9 +2186,9 @@ msgid "Your password will expire in %1$d %2$s."
msgstr "Hasło wygaśnie za %1$d %2$s."
#: src/sss_client/pam_sss.c:627
#, fuzzy, c-format
#, c-format
msgid "Your password has expired."
msgstr "Hasło wygaśnie za %1$d %2$s."
msgstr "Hasło wygasło."
#: src/sss_client/pam_sss.c:678
msgid "Authentication is denied until: "
......@@ -2257,6 +2253,7 @@ msgstr "Drugi czynnik: "
#: src/sss_client/pam_sss.c:2547
msgid "Insert your passkey device, then press ENTER."
msgstr ""
"Proszę włożyć urządzenie hasła-klucza, a następnie nacisnąć klawisz Enter."
#: src/sss_client/pam_sss.c:2551 src/sss_client/pam_sss.c:2554
msgid "Password: "
......@@ -2609,9 +2606,8 @@ msgid "Passkey related tools:"
msgstr "Narzędzia związane z hasłami-kluczami:"
#: src/tools/sssctl/sssctl.c:348
#, fuzzy
msgid "Perform passkey registration"
msgstr "Wykonuje działania związane z hasłami-kluczami"
msgstr "Wykonuje rejestrację hasłem-kluczem"
#: src/tools/sssctl/sssctl_cache.c:31
#, c-format
......@@ -2792,9 +2788,8 @@ msgid "Error while reading configuration directory.\n"
msgstr "Błąd podczas odczytywania katalogu konfiguracji.\n"
#: src/tools/sssctl/sssctl_config.c:147
#, fuzzy
msgid "There is no configuration.\n"
msgstr "Wczytanie konfiguracji z %s się nie powiodło.\n"
msgstr "Nie ma konfiguracji.\n"
#: src/tools/sssctl/sssctl_config.c:157
msgid "Failed to run validators"
......
......@@ -13,17 +13,17 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: sssd-devel@lists.fedorahosted.org\n"
"POT-Creation-Date: 2023-05-05 10:11+0200\n"
"PO-Revision-Date: 2022-12-14 19:20+0000\n"
"PO-Revision-Date: 2023-06-06 20:20+0000\n"
"Last-Translator: Elena Mishina <lepata@basealt.ru>\n"
"Language-Team: Russian <https://translate.fedoraproject.org/projects/sssd/"
"sssd-master/ru/>\n"
"sssd-2-9/ru/>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.14.2\n"
"X-Generator: Weblate 4.17\n"
#: src/config/SSSDConfig/sssdoptions.py:20
#: src/config/SSSDConfig/sssdoptions.py:21
......@@ -173,9 +173,8 @@ msgid "Enable or disable core dumps for all SSSD processes."
msgstr "Включить или отключить дампы памяти для всех процессов SSSD."
#: src/config/SSSDConfig/sssdoptions.py:58
#, fuzzy
msgid "Tune passkey verification behavior"
msgstr "Настроить проверку сертификатов"
msgstr "Настроить проверку ключа доступа"
#: src/config/SSSDConfig/sssdoptions.py:61
msgid "Enumeration cache timeout length (seconds)"
......@@ -433,20 +432,18 @@ msgstr ""
"GSSAPI"
#: src/config/SSSDConfig/sssdoptions.py:117
#, fuzzy
msgid "Allow passkey device authentication."
msgstr "Разрешить проверку подлинности на основе сертификата или смарт-карты."
msgstr "Разрешить проверку подлинности на основе ключа доступа."
#: src/config/SSSDConfig/sssdoptions.py:118
#, fuzzy
msgid "How many seconds will pam_sss wait for passkey_child to finish"
msgstr ""
"Разрешённое количество секунд, в течение которого pam_sss ожидает завершения "
"работы p11_child"
"работы passkey_child"
#: src/config/SSSDConfig/sssdoptions.py:119
msgid "Enable debugging in the libfido2 library"
msgstr ""
msgstr "Включить отладку в библиотеке libfido2"
#: src/config/SSSDConfig/sssdoptions.py:122
msgid "Whether to evaluate the time-based attributes in sudo rules"
......@@ -1634,9 +1631,8 @@ msgid "attribute containing the email address of the user"
msgstr "Атрибут, который содержит адрес электронной почты пользователя"
#: src/config/SSSDConfig/sssdoptions.py:449
#, fuzzy
msgid "attribute containing the passkey mapping data of the user"
msgstr "Атрибут, который содержит адрес электронной почты пользователя"
msgstr "атрибут, содержащий данные сопоставления ключа доступа пользователя"
#: src/config/SSSDConfig/sssdoptions.py:450
msgid "A list of extra attributes to download along with the user entry"
......@@ -2206,7 +2202,7 @@ msgstr "Сообщение сервера: "
#: src/sss_client/pam_sss.c:71
msgid "Enter PIN:"
msgstr ""
msgstr "Введите PIN:"
#: src/sss_client/pam_sss.c:314
msgid "Passwords do not match"
......@@ -2235,9 +2231,9 @@ msgid "Your password will expire in %1$d %2$s."
msgstr "Срок действия пароля истекает через %1$d %2$s."
#: src/sss_client/pam_sss.c:627
#, fuzzy, c-format
#, c-format
msgid "Your password has expired."
msgstr "Срок действия пароля истекает через %1$d %2$s."
msgstr "Срок действия пароля истёк."
#: src/sss_client/pam_sss.c:678
msgid "Authentication is denied until: "
......@@ -2300,7 +2296,7 @@ msgstr "Второй фактор: "
#: src/sss_client/pam_sss.c:2547
msgid "Insert your passkey device, then press ENTER."
msgstr ""
msgstr "Вставьте устройство с ключом доступа и нажмите ENTER."
#: src/sss_client/pam_sss.c:2551 src/sss_client/pam_sss.c:2554
msgid "Password: "
......@@ -2653,9 +2649,8 @@ msgid "Passkey related tools:"
msgstr "Инструменты, связанные с ключом:"
#: src/tools/sssctl/sssctl.c:348
#, fuzzy
msgid "Perform passkey registration"
msgstr "Выполнить связанные с ключом действия"
msgstr "Зарегистрировать ключ доступа"
#: src/tools/sssctl/sssctl_cache.c:31
#, c-format
......@@ -2837,9 +2832,8 @@ msgid "Error while reading configuration directory.\n"
msgstr "Ошибка при чтении каталога конфигурации.\n"
#: src/tools/sssctl/sssctl_config.c:147
#, fuzzy
msgid "There is no configuration.\n"
msgstr "Не удалось загрузить конфигурацию из %s.\n"
msgstr "Нет никакой конфигурации.\n"
#: src/tools/sssctl/sssctl_config.c:157
msgid "Failed to run validators"
......
......@@ -11,16 +11,16 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: sssd-devel@lists.fedorahosted.org\n"
"POT-Creation-Date: 2023-05-05 10:11+0200\n"
"PO-Revision-Date: 2023-04-13 13:20+0000\n"
"PO-Revision-Date: 2023-06-04 04:20+0000\n"
"Last-Translator: Kemal Oktay Aktoğan <oktay@e.email>\n"
"Language-Team: Turkish <https://translate.fedoraproject.org/projects/sssd/"
"sssd-master/tr/>\n"
"sssd-2-9/tr/>\n"
"Language: tr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n>1);\n"
"X-Generator: Weblate 4.15.2\n"
"X-Generator: Weblate 4.17\n"
#: src/config/SSSDConfig/sssdoptions.py:20
#: src/config/SSSDConfig/sssdoptions.py:21
......@@ -419,9 +419,8 @@ msgstr ""
"<PAM hizmeti>:<kimlik doğrulama göstergesi> çiftlerinin listesi"
#: src/config/SSSDConfig/sssdoptions.py:117
#, fuzzy
msgid "Allow passkey device authentication."
msgstr "Sertifika tabanlı/Akıllı kart kimlik doğrulamasına izin ver."
msgstr "Geçiş anahtarı cihaz kimlik doğrulamasına izin ver."
#: src/config/SSSDConfig/sssdoptions.py:118
#, fuzzy
......
......@@ -16,17 +16,17 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: sssd-devel@lists.fedorahosted.org\n"
"POT-Creation-Date: 2023-05-05 10:11+0200\n"
"PO-Revision-Date: 2022-12-12 14:09+0000\n"
"PO-Revision-Date: 2023-06-02 05:50+0000\n"
"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
"Language-Team: Ukrainian <https://translate.fedoraproject.org/projects/sssd/"
"sssd-master/uk/>\n"
"sssd-2-9/uk/>\n"
"Language: uk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.14.2\n"
"X-Generator: Weblate 4.17\n"
#: src/config/SSSDConfig/sssdoptions.py:20
#: src/config/SSSDConfig/sssdoptions.py:21
......@@ -178,9 +178,8 @@ msgid "Enable or disable core dumps for all SSSD processes."
msgstr "Увімкнути або вимкнути дампи ядра для усіх процесів SSSD."
#: src/config/SSSDConfig/sssdoptions.py:58
#, fuzzy
msgid "Tune passkey verification behavior"
msgstr "Скоригувати перевірку сертифікатів"
msgstr "Скоригувати поведінку при перевірці пароля"
#: src/config/SSSDConfig/sssdoptions.py:61
msgid "Enumeration cache timeout length (seconds)"
......@@ -430,20 +429,18 @@ msgstr ""
"примусово встановлено доступ PAM із розпізнаванням GSSAPI"
#: src/config/SSSDConfig/sssdoptions.py:117
#, fuzzy
msgid "Allow passkey device authentication."
msgstr "Дозволити розпізнавання за сертифікатом або смарткарткою."
msgstr "Дозволити розпізнавання за допомогою пристрою пароля."
#: src/config/SSSDConfig/sssdoptions.py:118
#, fuzzy
msgid "How many seconds will pam_sss wait for passkey_child to finish"
msgstr ""
"Час у секундах, протягом якого pam_sss очікуватиме на завершення роботи "
"p11_child"
"passkey_child"
#: src/config/SSSDConfig/sssdoptions.py:119
msgid "Enable debugging in the libfido2 library"
msgstr ""
msgstr "Увімкнути діагностику у бібліотеці libfido2"
#: src/config/SSSDConfig/sssdoptions.py:122
msgid "Whether to evaluate the time-based attributes in sudo rules"
......@@ -1648,9 +1645,8 @@ msgid "attribute containing the email address of the user"
msgstr "атрибут, що містить адресу електронної пошти користувача"
#: src/config/SSSDConfig/sssdoptions.py:449
#, fuzzy
msgid "attribute containing the passkey mapping data of the user"
msgstr "атрибут, що містить адресу електронної пошти користувача"
msgstr "атрибут, що містить дані прив'язки ключа користувача"
#: src/config/SSSDConfig/sssdoptions.py:450
msgid "A list of extra attributes to download along with the user entry"
......@@ -2227,7 +2223,7 @@ msgstr "Повідомлення сервера: "
#: src/sss_client/pam_sss.c:71
msgid "Enter PIN:"
msgstr ""
msgstr "Введіть PIN:"
#: src/sss_client/pam_sss.c:314
msgid "Passwords do not match"
......@@ -2256,9 +2252,9 @@ msgid "Your password will expire in %1$d %2$s."
msgstr "Строк дії вашого пароля завершиться за %1$d %2$s."
#: src/sss_client/pam_sss.c:627
#, fuzzy, c-format
#, c-format
msgid "Your password has expired."
msgstr "Строк дії вашого пароля завершиться за %1$d %2$s."
msgstr "Строк дії вашого пароля вичерпано."
#: src/sss_client/pam_sss.c:678
msgid "Authentication is denied until: "
......@@ -2321,7 +2317,7 @@ msgstr "Другий фактор: "
#: src/sss_client/pam_sss.c:2547
msgid "Insert your passkey device, then press ENTER."
msgstr ""
msgstr "Вставте ваш пристрій ключа і натисніть клавішу ENTER."
#: src/sss_client/pam_sss.c:2551 src/sss_client/pam_sss.c:2554
msgid "Password: "
......@@ -2673,9 +2669,8 @@ msgid "Passkey related tools:"
msgstr "Пов'язані із ключем інструменти:"
#: src/tools/sssctl/sssctl.c:348
#, fuzzy
msgid "Perform passkey registration"
msgstr "Виконати пов'язані із ключем дії"
msgstr "Виконати реєстрацію ключа"
#: src/tools/sssctl/sssctl_cache.c:31
#, c-format
......@@ -2858,9 +2853,8 @@ msgid "Error while reading configuration directory.\n"
msgstr "Помилка під час спроби прочитати каталог налаштувань.\n"
#: src/tools/sssctl/sssctl_config.c:147
#, fuzzy
msgid "There is no configuration.\n"
msgstr "Не вдалося завантажити налаштування з %s.\n"
msgstr "Немає налаштувань.\n"
#: src/tools/sssctl/sssctl_config.c:157
msgid "Failed to run validators"
......
......@@ -14,16 +14,16 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: sssd-devel@lists.fedorahosted.org\n"
"POT-Creation-Date: 2023-05-05 10:11+0200\n"
"PO-Revision-Date: 2023-03-02 09:20+0000\n"
"PO-Revision-Date: 2023-06-10 12:20+0000\n"
"Last-Translator: Ludek Janda <ljanda@redhat.com>\n"
"Language-Team: Chinese (Simplified) <https://translate.fedoraproject.org/"
"projects/sssd/sssd-master/zh_CN/>\n"
"projects/sssd/sssd-2-9/zh_CN/>\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.15.2\n"
"X-Generator: Weblate 4.17\n"
#: src/config/SSSDConfig/sssdoptions.py:20
#: src/config/SSSDConfig/sssdoptions.py:21
......@@ -164,9 +164,8 @@ msgid "Enable or disable core dumps for all SSSD processes."
msgstr "为所有 SSSD 进程启用或禁用内核转储。"
#: src/config/SSSDConfig/sssdoptions.py:58
#, fuzzy
msgid "Tune passkey verification behavior"
msgstr "调整证书验证"
msgstr "调整密码验证行为"
#: src/config/SSSDConfig/sssdoptions.py:61
msgid "Enumeration cache timeout length (seconds)"
......@@ -384,18 +383,16 @@ msgstr ""
"验证进行 PAM 访问"
#: src/config/SSSDConfig/sssdoptions.py:117
#, fuzzy
msgid "Allow passkey device authentication."
msgstr "允许基于证书/智能卡的身份验证。"
msgstr "允许使用通行密钥设备认证。"
#: src/config/SSSDConfig/sssdoptions.py:118
#, fuzzy
msgid "How many seconds will pam_sss wait for passkey_child to finish"
msgstr "pam_sss 等待 p11_child 完成的时间(以秒为单位)"
msgstr "pam_sss 等待 passkey_child 完成的时间"
#: src/config/SSSDConfig/sssdoptions.py:119
msgid "Enable debugging in the libfido2 library"
msgstr ""
msgstr "在 libfido2 库中启用调试功能"
#: src/config/SSSDConfig/sssdoptions.py:122
msgid "Whether to evaluate the time-based attributes in sudo rules"
......@@ -1489,9 +1486,8 @@ msgid "attribute containing the email address of the user"
msgstr "包含用户电子邮件地址的属性"
#: src/config/SSSDConfig/sssdoptions.py:449
#, fuzzy
msgid "attribute containing the passkey mapping data of the user"
msgstr "包含用户电子邮件地址的属性"
msgstr "包含用户的通行密钥映射数据的属性"
#: src/config/SSSDConfig/sssdoptions.py:450
msgid "A list of extra attributes to download along with the user entry"
......@@ -2038,7 +2034,7 @@ msgstr "服务器消息: "
#: src/sss_client/pam_sss.c:71
msgid "Enter PIN:"
msgstr ""
msgstr "输入 PIN:"
#: src/sss_client/pam_sss.c:314
msgid "Passwords do not match"
......@@ -2067,9 +2063,9 @@ msgid "Your password will expire in %1$d %2$s."
msgstr "您的密码将于 %1$d %2$s 过期。"
#: src/sss_client/pam_sss.c:627
#, fuzzy, c-format
#, c-format
msgid "Your password has expired."
msgstr "您的密码将于 %1$d %2$s 过期。"
msgstr "您的密码已经过期。"
#: src/sss_client/pam_sss.c:678
msgid "Authentication is denied until: "
......@@ -2129,7 +2125,7 @@ msgstr "第二因素: "
#: src/sss_client/pam_sss.c:2547
msgid "Insert your passkey device, then press ENTER."
msgstr ""
msgstr "插入您的通行密钥设备,然后按回车键。"
#: src/sss_client/pam_sss.c:2551 src/sss_client/pam_sss.c:2554
msgid "Password: "
......@@ -2478,9 +2474,8 @@ msgid "Passkey related tools:"
msgstr "与 Passkey 相关的工具:"
#: src/tools/sssctl/sssctl.c:348
#, fuzzy
msgid "Perform passkey registration"
msgstr "执行与 passkey 相关的操作"
msgstr "执行通行密钥登记"
#: src/tools/sssctl/sssctl_cache.c:31
#, c-format
......@@ -2656,9 +2651,8 @@ msgid "Error while reading configuration directory.\n"
msgstr "读取配置目录时出错。\n"
#: src/tools/sssctl/sssctl_config.c:147
#, fuzzy
msgid "There is no configuration.\n"
msgstr "从 %s 加载配置失败。\n"
msgstr "没有任何配置。\n"
#: src/tools/sssctl/sssctl_config.c:157
msgid "Failed to run validators"
......
......@@ -523,6 +523,15 @@ static int sysdb_attrs_add_val_int(struct sysdb_attrs *attrs,
return EOK;
}
int sysdb_attrs_add_empty(struct sysdb_attrs *attrs, const char *name)
{
struct ldb_message_element *el;
/* Calling this will create the element if it does not exist. */
return sysdb_attrs_get_el_ext(attrs, name, true, &el);
}
int sysdb_attrs_add_val(struct sysdb_attrs *attrs,
const char *name, const struct ldb_val *val)
{
......
......@@ -136,6 +136,7 @@
#define SYSDB_DN_FOR_MEMBER_HASH_TABLE "dnForMemberHashTable"
#define SYSDB_ORIG_DN "originalDN"
#define SYSDB_ORIG_OBJECTCLASS "originalObjectClass"
#define SYSDB_ORIG_MODSTAMP "originalModifyTimestamp"
#define SYSDB_ORIG_MEMBEROF "originalMemberOf"
#define SYSDB_ORIG_MEMBER "orig_member"
......@@ -387,10 +388,17 @@ enum sysdb_index_actions {
SYSDB_IDX_LIST
};
enum sysdb_obj_type {
SYSDB_UNKNOWN = 0,
SYSDB_USER,
SYSDB_GROUP
};
/* These attributes are stored in the timestamp cache */
extern const char *sysdb_ts_cache_attrs[];
/* values are copied in the structure, allocated on "attrs" */
int sysdb_attrs_add_empty(struct sysdb_attrs *attrs, const char *name);
int sysdb_attrs_add_val(struct sysdb_attrs *attrs,
const char *name, const struct ldb_val *val);
int sysdb_attrs_add_val_safe(struct sysdb_attrs *attrs,
......
......@@ -406,12 +406,6 @@ done:
/* =Search-User-by-[UID/SID/NAME]============================================= */
enum sysdb_obj_type {
SYSDB_UNKNOWN = 0,
SYSDB_USER,
SYSDB_GROUP
};
static errno_t cleanup_dn_filter(TALLOC_CTX *mem_ctx,
struct ldb_result *ts_res,
const char *object_class,
......@@ -2313,8 +2307,10 @@ int sysdb_add_incomplete_group(struct sss_domain_info *domain,
ret = sysdb_attrs_add_time_t(attrs, SYSDB_LAST_UPDATE, now);
if (ret) goto done;
/* in case (ignore_group_members == true) group is actually complete */
ret = sysdb_attrs_add_time_t(attrs, SYSDB_CACHE_EXPIRE,
now-1);
domain->ignore_group_members ?
(now + domain->group_timeout) : (now-1));
if (ret) goto done;
ret = sysdb_attrs_add_bool(attrs, SYSDB_POSIX, posix);
......
......@@ -1225,7 +1225,9 @@ int sysdb_getgrnam(TALLOC_CTX *mem_ctx,
res->msgs[0], ORIGINALAD_PREFIX SYSDB_NAME, NULL);
if (originalad_sanitized_name != NULL
&& strcmp(originalad_sanitized_name, sanitized_name) != 0) {
&& !sss_string_equal(domain->case_sensitive,
originalad_sanitized_name,
sanitized_name)) {
fmt_filter = SYSDB_GRNAM_FILTER;
base_dn = sysdb_group_base_dn(tmp_ctx, domain);
res = NULL;
......
......@@ -117,23 +117,23 @@ man_MANS += sssd-files.5
endif # BUILD_FILES_PROVIDER
endif
SUFFIXES = .1.xml .1 .3.xml .3 .5.xml .5 .8.xml .8
.1.xml.1:
$(builddir)/src/man/sssd_user_name.include:
@mkdir -p $(builddir)/src/man
@echo -n $(SSSD_USER) > $(builddir)/src/man/sssd_user_name.include
%.1: %.1.xml
$(XMLLINT) $(XMLLINT_FLAGS) $<
$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(DOCBOOK_XSLT) $<
.3.xml.3:
%.3: %.3.xml
$(XMLLINT) $(XMLLINT_FLAGS) $<
$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(DOCBOOK_XSLT) $<
.5.xml.5:
@mkdir -p $(builddir)/src/man
@echo -n $(SSSD_USER) > $(builddir)/src/man/sssd_user_name.include
%.5: %.5.xml $(builddir)/src/man/sssd_user_name.include
$(XMLLINT) --path "$(srcdir)/src/man:$(builddir)/src/man" $(XMLLINT_FLAGS) $<
$(XSLTPROC) --path "$(srcdir)/src/man:$(builddir)/src/man" -o $@ $(XSLTPROC_FLAGS) $(DOCBOOK_XSLT) $<
@rm -f $(builddir)/src/man/sssd_user_name.include
.8.xml.8:
%.8: %.8.xml
$(XMLLINT) $(XMLLINT_FLAGS) $<
$(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(DOCBOOK_XSLT) $<
......@@ -215,6 +215,7 @@ clean-local:
done
rm -f $(man_MANS)
rm -f man.stamp
rm -f $(builddir)/src/man/sssd_user_name.include
else
......@@ -224,6 +225,7 @@ man.stamp: $(XML_DOC)
clean-local:
rm -f $(man_MANS)
rm -f man.stamp
rm -f $(builddir)/src/man/sssd_user_name.include
endif
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sssd-docs 2.9.0\n"
"Report-Msgid-Bugs-To: sssd-devel@redhat.com\n"
"POT-Creation-Date: 2023-05-05 10:09+0200\n"
"POT-Creation-Date: 2023-06-23 14:53+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......
......@@ -63,6 +63,7 @@ struct passkey_data {
fido_opt_t user_verification;
enum credential_type cred_type;
unsigned char *user_id;
char *mapping_file;
bool quiet;
bool debug_libfido2;
};
......@@ -240,6 +241,21 @@ errno_t
print_credentials(const struct passkey_data *data,
const fido_cred_t *const cred);
/**
* @brief Print passkey credentials
*
* @param[in] data passkey data
* @param[in] b64_cred_id Credential ID in b64
* @param[in] pem_key Public key in PEM format
*
* @return 0 if the credentials were printed properly,
* another value on error.
*/
errno_t
print_credentials_to_file(const struct passkey_data *data,
const char *b64_cred_id,
const char *pem_key);
/**
* @brief Format libfido2's es256 data structure to EVP_PKEY
*
......
......@@ -154,6 +154,7 @@ parse_arguments(TALLOC_CTX *mem_ctx, int argc, const char *argv[],
data->user_verification = FIDO_OPT_OMIT;
data->cred_type = CRED_SERVER_SIDE;
data->user_id = NULL;
data->mapping_file = NULL;
data->quiet = false;
data->debug_libfido2 = false;
......@@ -194,6 +195,8 @@ parse_arguments(TALLOC_CTX *mem_ctx, int argc, const char *argv[],
_("Require user-verification"), "true|false"},
{"cred-type", 0, POPT_ARG_STRING, &cred_type, 0,
_("Credential type"), "server-side|discoverable"},
{"output-file", 0, POPT_ARG_STRING, &data->mapping_file, 0,
_("Write key mapping data to file"), NULL},
{"quiet", 0, POPT_ARG_NONE, NULL, 'q',
_("Supress prompts"), NULL},
{"debug-libfido2", 0, POPT_ARG_NONE, NULL, 'd',
......@@ -368,6 +371,7 @@ check_arguments(const struct passkey_data *data)
data->user_verification);
DEBUG(SSSDBG_TRACE_FUNC, "cred_type: %d\n",
data->cred_type);
DEBUG(SSSDBG_TRACE_FUNC, "Mapping file: %s\n", data->mapping_file);
DEBUG(SSSDBG_TRACE_FUNC, "debug_libfido2: %d\n", data->debug_libfido2);
if (data->action == ACTION_NONE) {
......
......@@ -22,6 +22,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <fcntl.h>
#include <termios.h>
#include <stdio.h>
......@@ -403,9 +404,79 @@ print_credentials(const struct passkey_data *data,
}
PRINT("passkey:%s,%s\n", b64_cred_id, pem_key);
if (data->mapping_file != NULL) {
print_credentials_to_file(data, b64_cred_id, pem_key);
}
ret = EOK;
done:
talloc_free(tmp_ctx);
return ret;
}
errno_t
print_credentials_to_file(const struct passkey_data *data,
const char *b64_cred_id,
const char *pem_key)
{
TALLOC_CTX *tmp_ctx = NULL;
char *mapping_data = NULL;
int mapping_data_len = 0;
int fd = -1;
ssize_t written = 0;
errno_t ret;
tmp_ctx = talloc_new(NULL);
if (tmp_ctx == NULL) {
ret = ENOMEM;
goto done;
}
mapping_data = talloc_asprintf(tmp_ctx, "passkey:%s,%s",
b64_cred_id, pem_key);
if (mapping_data == NULL) {
DEBUG(SSSDBG_CRIT_FAILURE, "talloc_asprintf failed.\n");
ret = ENOMEM;
goto done;
}
mapping_data_len = strlen(mapping_data);
fd = open(data->mapping_file, O_WRONLY|O_CREAT, 0640);
if (fd == -1) {
ret = errno;
DEBUG(SSSDBG_OP_FAILURE,
"open() failed [%d][%s]\n", ret, strerror(ret));
ret = EIO;
goto done;
}
errno = 0;
written = sss_atomic_write_s(fd, mapping_data, mapping_data_len);
if (written == -1) {
ret = errno;
DEBUG(SSSDBG_OP_FAILURE,
"Write failed [%d][%s].\n", ret, strerror(ret));
goto done;
}
if (written != mapping_data_len) {
DEBUG(SSSDBG_OP_FAILURE,
"Write error, wrote [%zd] bytes, expected [%d]\n",
written, mapping_data_len);
ret = EIO;
goto done;
}
ret = EOK;
done:
if (fd != -1) {
if (close(fd) == -1) {
DEBUG(SSSDBG_OP_FAILURE,
"Close failed [%s].\n", strerror(errno));
}
}
talloc_free(tmp_ctx);
return ret;
......
......@@ -59,6 +59,7 @@
#define AD_AT_DN "distinguishedName"
#define AD_AT_UAC "userAccountControl"
#define AD_AT_SAMACCOUNTNAME "sAMAccountName"
#define AD_AT_CONFIG_NC "configurationNamingContext"
#define AD_AT_GPLINK "gPLink"
#define AD_AT_GPOPTIONS "gpOptions"
......@@ -2061,7 +2062,7 @@ ad_gpo_connect_done(struct tevent_req *subreq)
filter = talloc_asprintf(state,
"(&(objectclass=%s)(%s=%s))",
state->opts->user_map[SDAP_OC_USER].name,
state->opts->user_map[SDAP_AT_USER_NAME].name,
AD_AT_SAMACCOUNTNAME,
sam_account_name);
if (filter == NULL) {
ret = ENOMEM;
......
......@@ -1216,7 +1216,7 @@ static void ad_get_slave_domain_connect_done(struct tevent_req *subreq)
int dp_error;
errno_t ret;
const char *attrs[] = { AD_AT_FLATNAME, AD_AT_TRUST_PARTNER,
AD_AT_SID, AD_AT_TRUST_TYPE,
AD_AT_SID, AD_AT_TRUST_TYPE, AD_AT_DOMAIN_NAME,
AD_AT_TRUST_ATTRS, AD_AT_TRUST_DIRECTION, NULL };
req = tevent_req_callback_data(subreq, struct tevent_req);
......