Skip to content

Commit 1cd549f

Browse files
committed
po + man
1 parent 1c5c4c3 commit 1cd549f

8 files changed

Lines changed: 381 additions & 33 deletions

File tree

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ install(PROGRAMS ${CMAKE_SOURCE_DIR}/scripts/llng-pam-enroll
9494
DESTINATION ${CMAKE_INSTALL_SBINDIR}
9595
)
9696

97+
# Install man page
98+
install(FILES ${CMAKE_SOURCE_DIR}/man/llng-pam-enroll.8
99+
DESTINATION ${CMAKE_INSTALL_MANDIR}/man8
100+
)
101+
97102
# Tests
98103
if(BUILD_TESTING)
99104
enable_testing()

debian/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fr

debian/po/POTFILES.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[type: gettext/rfc822deb] templates

debian/po/fr.po

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
# French translation of pam-llng debconf templates.
2+
# Copyright (C) 2024 Linagora
3+
# This file is distributed under the same license as the pam-llng package.
4+
# Xavier Guimard <xguimard@linagora.com>, 2024.
5+
#
6+
msgid ""
7+
msgstr ""
8+
"Project-Id-Version: pam-llng\n"
9+
"Report-Msgid-Bugs-To: pam-llng@packages.debian.org\n"
10+
"POT-Creation-Date: 2025-12-14 15:10+0100\n"
11+
"PO-Revision-Date: 2024-12-14 15:10+0100\n"
12+
"Last-Translator: Xavier Guimard <xguimard@linagora.com>\n"
13+
"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
14+
"Language: fr\n"
15+
"MIME-Version: 1.0\n"
16+
"Content-Type: text/plain; charset=UTF-8\n"
17+
"Content-Transfer-Encoding: 8bit\n"
18+
19+
#. Type: select
20+
#. Description
21+
#: ../templates:1001
22+
msgid "PAM authentication mode for LemonLDAP::NG:"
23+
msgstr "Mode d'authentification PAM pour LemonLDAP::NG :"
24+
25+
#. Type: select
26+
#. Description
27+
#: ../templates:1001
28+
msgid "Choose how to configure PAM authentication:"
29+
msgstr "Choisissez comment configurer l'authentification PAM :"
30+
31+
#. Type: select
32+
#. Description
33+
#: ../templates:1001
34+
msgid ""
35+
" * none: Do not configure PAM automatically\n"
36+
" * mode-a: LLNG token only (strictest)\n"
37+
" * mode-b: LLNG token OR Unix password (fallback)\n"
38+
" * mode-c: SSH key with LLNG authorization only\n"
39+
" * mode-d: All methods (SSH keys, LLNG tokens, Unix passwords)"
40+
msgstr ""
41+
" * none : Ne pas configurer PAM automatiquement\n"
42+
" * mode-a : Token LLNG uniquement (le plus strict)\n"
43+
" * mode-b : Token LLNG OU mot de passe Unix (fallback)\n"
44+
" * mode-c : Clé SSH avec autorisation LLNG uniquement\n"
45+
" * mode-d : Toutes les méthodes (clés SSH, tokens LLNG, mots de passe Unix)"
46+
47+
#. Type: select
48+
#. Description
49+
#: ../templates:1001
50+
msgid "All modes require LLNG authorization to access this server."
51+
msgstr "Tous les modes requièrent une autorisation LLNG pour accéder à ce serveur."
52+
53+
#. Type: string
54+
#. Description
55+
#: ../templates:2001
56+
msgid "LemonLDAP::NG portal URL:"
57+
msgstr "URL du portail LemonLDAP::NG :"
58+
59+
#. Type: string
60+
#. Description
61+
#: ../templates:2001
62+
msgid ""
63+
"Enter the URL of your LemonLDAP::NG portal (e.g., https://auth.example.com)."
64+
msgstr ""
65+
"Entrez l'URL de votre portail LemonLDAP::NG (ex : https://auth.example.com)."
66+
67+
#. Type: string
68+
#. Description
69+
#: ../templates:3001
70+
msgid "OIDC client ID:"
71+
msgstr "Identifiant client OIDC :"
72+
73+
#. Type: string
74+
#. Description
75+
#: ../templates:3001
76+
msgid "Enter the OIDC client ID configured in LemonLDAP::NG for PAM access."
77+
msgstr "Entrez l'identifiant client OIDC configuré dans LemonLDAP::NG pour l'accès PAM."
78+
79+
#. Type: password
80+
#. Description
81+
#: ../templates:4001
82+
msgid "OIDC client secret:"
83+
msgstr "Secret client OIDC :"
84+
85+
#. Type: password
86+
#. Description
87+
#: ../templates:4001
88+
msgid "Enter the client secret for the OIDC client."
89+
msgstr "Entrez le secret du client OIDC."
90+
91+
#. Type: string
92+
#. Description
93+
#: ../templates:5001
94+
msgid "Server group name:"
95+
msgstr "Nom du groupe de serveurs :"
96+
97+
#. Type: string
98+
#. Description
99+
#: ../templates:5001
100+
msgid ""
101+
"Enter the server group name for authorization rules. This must match a group "
102+
"defined in LLNG's pamAccessServerGroups."
103+
msgstr ""
104+
"Entrez le nom du groupe de serveurs pour les règles d'autorisation. Ce nom "
105+
"doit correspondre à un groupe défini dans pamAccessServerGroups de LLNG."
106+
107+
#. Type: boolean
108+
#. Description
109+
#: ../templates:6001
110+
msgid "Configure PAM for sudo?"
111+
msgstr "Configurer PAM pour sudo ?"
112+
113+
#. Type: boolean
114+
#. Description
115+
#: ../templates:6001
116+
msgid ""
117+
"Set this to true if you want to configure /etc/pam.d/sudo with LLNG "
118+
"authentication. This allows using LLNG tokens for sudo commands."
119+
msgstr ""
120+
"Activez cette option si vous souhaitez configurer /etc/pam.d/sudo avec "
121+
"l'authentification LLNG. Cela permet d'utiliser les tokens LLNG pour les commandes sudo."
122+
123+
#. Type: string
124+
#. Description
125+
#: ../templates:7001
126+
msgid "Server group name for sudo:"
127+
msgstr "Nom du groupe de serveurs pour sudo :"
128+
129+
#. Type: string
130+
#. Description
131+
#: ../templates:7001
132+
msgid "Enter the server group name for sudo authorization rules."
133+
msgstr "Entrez le nom du groupe de serveurs pour les règles d'autorisation sudo."
134+
135+
#. Type: string
136+
#. Description
137+
#: ../templates:7001
138+
msgid ""
139+
"This allows different authorization rules for SSH access and sudo usage. "
140+
"Leave empty to use the same group as SSH."
141+
msgstr ""
142+
"Cela permet d'avoir des règles d'autorisation différentes pour l'accès SSH "
143+
"et l'utilisation de sudo. Laissez vide pour utiliser le même groupe que SSH."

debian/po/templates.pot

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3+
# This file is distributed under the same license as the pam-llng package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: pam-llng\n"
10+
"Report-Msgid-Bugs-To: pam-llng@packages.debian.org\n"
11+
"POT-Creation-Date: 2025-12-14 15:10+0100\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"Language: \n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=CHARSET\n"
18+
"Content-Transfer-Encoding: 8bit\n"
19+
20+
#. Type: select
21+
#. Description
22+
#: ../templates:1001
23+
msgid "PAM authentication mode for LemonLDAP::NG:"
24+
msgstr ""
25+
26+
#. Type: select
27+
#. Description
28+
#: ../templates:1001
29+
msgid "Choose how to configure PAM authentication:"
30+
msgstr ""
31+
32+
#. Type: select
33+
#. Description
34+
#: ../templates:1001
35+
msgid ""
36+
" * none: Do not configure PAM automatically\n"
37+
" * mode-a: LLNG token only (strictest)\n"
38+
" * mode-b: LLNG token OR Unix password (fallback)\n"
39+
" * mode-c: SSH key with LLNG authorization only\n"
40+
" * mode-d: All methods (SSH keys, LLNG tokens, Unix passwords)"
41+
msgstr ""
42+
43+
#. Type: select
44+
#. Description
45+
#: ../templates:1001
46+
msgid "All modes require LLNG authorization to access this server."
47+
msgstr ""
48+
49+
#. Type: string
50+
#. Description
51+
#: ../templates:2001
52+
msgid "LemonLDAP::NG portal URL:"
53+
msgstr ""
54+
55+
#. Type: string
56+
#. Description
57+
#: ../templates:2001
58+
msgid ""
59+
"Enter the URL of your LemonLDAP::NG portal (e.g., https://auth.example.com)."
60+
msgstr ""
61+
62+
#. Type: string
63+
#. Description
64+
#: ../templates:3001
65+
msgid "OIDC client ID:"
66+
msgstr ""
67+
68+
#. Type: string
69+
#. Description
70+
#: ../templates:3001
71+
msgid "Enter the OIDC client ID configured in LemonLDAP::NG for PAM access."
72+
msgstr ""
73+
74+
#. Type: password
75+
#. Description
76+
#: ../templates:4001
77+
msgid "OIDC client secret:"
78+
msgstr ""
79+
80+
#. Type: password
81+
#. Description
82+
#: ../templates:4001
83+
msgid "Enter the client secret for the OIDC client."
84+
msgstr ""
85+
86+
#. Type: string
87+
#. Description
88+
#: ../templates:5001
89+
msgid "Server group name:"
90+
msgstr ""
91+
92+
#. Type: string
93+
#. Description
94+
#: ../templates:5001
95+
msgid ""
96+
"Enter the server group name for authorization rules. This must match a group "
97+
"defined in LLNG's pamAccessServerGroups."
98+
msgstr ""
99+
100+
#. Type: boolean
101+
#. Description
102+
#: ../templates:6001
103+
msgid "Configure PAM for sudo?"
104+
msgstr ""
105+
106+
#. Type: boolean
107+
#. Description
108+
#: ../templates:6001
109+
msgid ""
110+
"Set this to true if you want to configure /etc/pam.d/sudo with LLNG "
111+
"authentication. This allows using LLNG tokens for sudo commands."
112+
msgstr ""
113+
114+
#. Type: string
115+
#. Description
116+
#: ../templates:7001
117+
msgid "Server group name for sudo:"
118+
msgstr ""
119+
120+
#. Type: string
121+
#. Description
122+
#: ../templates:7001
123+
msgid "Enter the server group name for sudo authorization rules."
124+
msgstr ""
125+
126+
#. Type: string
127+
#. Description
128+
#: ../templates:7001
129+
msgid ""
130+
"This allows different authorization rules for SSH access and sudo usage. "
131+
"Leave empty to use the same group as SSH."
132+
msgstr ""

debian/rules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ override_dh_auto_configure:
99
dh_auto_configure -- \
1010
-DCMAKE_BUILD_TYPE=Release \
1111
-DENABLE_CACHE=ON
12+
13+
# PAM modules don't need ldconfig trigger
14+
override_dh_makeshlibs:
15+
dh_makeshlibs -n

debian/templates

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
Template: libpam-llng/pam-mode
22
Type: select
33
Choices: none, mode-a, mode-b, mode-c, mode-d
4-
Choices-fr.UTF-8: aucun, mode-a, mode-b, mode-c, mode-d
54
Default: none
65
_Description: PAM authentication mode for LemonLDAP::NG:
76
Choose how to configure PAM authentication:
@@ -13,61 +12,37 @@ _Description: PAM authentication mode for LemonLDAP::NG:
1312
* mode-d: All methods (SSH keys, LLNG tokens, Unix passwords)
1413
.
1514
All modes require LLNG authorization to access this server.
16-
_Description-fr.UTF-8: Mode d'authentification PAM pour LemonLDAP::NG :
17-
Choisissez comment configurer l'authentification PAM :
18-
.
19-
* aucun : Ne pas configurer PAM automatiquement
20-
* mode-a : Token LLNG uniquement (le plus strict)
21-
* mode-b : Token LLNG OU mot de passe Unix (fallback)
22-
* mode-c : Clé SSH avec autorisation LLNG uniquement
23-
* mode-d : Toutes les méthodes (clés SSH, tokens LLNG, mots de passe Unix)
24-
.
25-
Tous les modes requièrent une autorisation LLNG pour accéder à ce serveur.
2615

2716
Template: libpam-llng/portal-url
2817
Type: string
2918
Default:
3019
_Description: LemonLDAP::NG portal URL:
3120
Enter the URL of your LemonLDAP::NG portal (e.g., https://auth.example.com).
32-
_Description-fr.UTF-8: URL du portail LemonLDAP::NG :
33-
Entrez l'URL de votre portail LemonLDAP::NG (ex: https://auth.example.com).
3421

3522
Template: libpam-llng/client-id
3623
Type: string
3724
Default: pam-access
3825
_Description: OIDC client ID:
3926
Enter the OIDC client ID configured in LemonLDAP::NG for PAM access.
40-
_Description-fr.UTF-8: Identifiant client OIDC :
41-
Entrez l'identifiant client OIDC configuré dans LemonLDAP::NG pour l'accès PAM.
4227

4328
Template: libpam-llng/client-secret
4429
Type: password
4530
_Description: OIDC client secret:
4631
Enter the client secret for the OIDC client.
47-
_Description-fr.UTF-8: Secret client OIDC :
48-
Entrez le secret du client OIDC.
4932

5033
Template: libpam-llng/server-group
5134
Type: string
5235
Default: default
5336
_Description: Server group name:
5437
Enter the server group name for authorization rules.
5538
This must match a group defined in LLNG's pamAccessServerGroups.
56-
_Description-fr.UTF-8: Nom du groupe de serveurs :
57-
Entrez le nom du groupe de serveurs pour les règles d'autorisation.
58-
Ce nom doit correspondre à un groupe défini dans pamAccessServerGroups de LLNG.
5939

6040
Template: libpam-llng/configure-sudo
6141
Type: boolean
6242
Default: false
63-
_Description: Also configure PAM for sudo?
64-
Do you want to configure /etc/pam.d/sudo with LLNG authentication?
65-
.
66-
If unsure, select No. You can configure sudo manually later.
67-
_Description-fr.UTF-8: Configurer aussi PAM pour sudo ?
68-
Voulez-vous configurer /etc/pam.d/sudo avec l'authentification LLNG ?
69-
.
70-
En cas de doute, sélectionnez Non. Vous pourrez configurer sudo manuellement plus tard.
43+
_Description: Configure PAM for sudo?
44+
Set this to true if you want to configure /etc/pam.d/sudo with LLNG
45+
authentication. This allows using LLNG tokens for sudo commands.
7146

7247
Template: libpam-llng/sudo-server-group
7348
Type: string
@@ -77,8 +52,3 @@ _Description: Server group name for sudo:
7752
.
7853
This allows different authorization rules for SSH access and sudo usage.
7954
Leave empty to use the same group as SSH.
80-
_Description-fr.UTF-8: Nom du groupe de serveurs pour sudo :
81-
Entrez le nom du groupe de serveurs pour les règles d'autorisation sudo.
82-
.
83-
Cela permet d'avoir des règles d'autorisation différentes pour l'accès SSH et l'utilisation de sudo.
84-
Laissez vide pour utiliser le même groupe que SSH.

0 commit comments

Comments
 (0)