clacos
November 16, 2025, 10:03am
1
What app is this about, and its version : PeerTube 7.3.0~ynh2
What YunoHost version are you running : 12.1.35
What type of hardware are you using : VPS bought online
Describe your issue
After PeerTube installation (successful) I can see the pop-up giving instructions for LDAP parameter. But when I log to PeerTube (with root account), the plugin does not allow any parameters:
plugin auth-ldap
Ce plugin ne dispose pas de paramétrage.
Hence I cannot log using users accounts.
Thanks !
Share relevant logs or error messages
https://paste.yunohost.org/raw/weroboqeta
artlog
November 16, 2025, 12:59pm
2
Hi @clacos
How long did you wait after install to check ldap ? Could the problem be a delay in plugin setup ?
Regards
clacos
November 16, 2025, 5:43pm
3
Hi, thanks for your reply !
I spent a few minutes digging around but you’re right, I can access to this dialog box now. Maybe a Firefox cache not reloading the page ?
Anyway, I could parameter it as expected, but I’m still facing login issue.
If I try to connect with a regular user connection is refused (invalid login and/or password) and I have the following syslog messages:
(anonymized)
2025-11-16T18:39:56.965102+01:00 x peertube[8101]: [peertube.x.fr:443] 2025-11-16 18:39:56.964 info: Login success with auth method ldap of plugin peertube-plugin-auth-ldap for guillaume.
2025-11-16T18:39:56.966808+01:00 x peertube[8101]: [peertube.x.fr:443] 2025-11-16 18:39:56.966 info: Bypassing oauth login by plugin peertube-plugin-auth-ldap.
2025-11-16T18:39:56.981617+01:00 x peertube[8101]: [peertube.x.fr:443] 2025-11-16 18:39:56.981 warn: Login error {
2025-11-16T18:39:56.981768+01:00 x peertube[8101]: "err": {
2025-11-16T18:39:56.981845+01:00 x peertube[8101]: "stack": "invalid_grant: Invalid grant: user credentials are invalid\n at handlePasswordGrant (file:///var/www/peertube/dist/core/lib/auth/oauth.js:115:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async handleToken (file:///var/www/peertube/dist/core/controllers/api/users/token.js:36:23)",
2025-11-16T18:39:56.982065+01:00 x peertube[8101]: "message": "Invalid grant: user credentials are invalid",
2025-11-16T18:39:56.982130+01:00 x peertube[8101]: "statusCode": 400,
2025-11-16T18:39:56.982305+01:00 x peertube[8101]: "status": 400,
2025-11-16T18:39:56.982348+01:00 x peertube[8101]: "code": 400,
2025-11-16T18:39:56.982388+01:00 x peertube[8101]: "name": "invalid_grant"
2025-11-16T18:39:56.982426+01:00 x peertube[8101]: }
2025-11-16T18:39:56.982468+01:00 x peertube[8101]: }
2025-11-16T18:39:56.982725+01:00 x peertube[8101]: [peertube.x.fr:443] 2025-11-16 18:39:56.982 info: 193.248.43.192 - - [16/Nov/2025:17:39:56 +0000] "POST /api/v1/users/token HTTP/1.0" 400 271 "https://peertube.x.fr/login" "Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0"
2025-11-16T18:39:57.041757+01:00 x peertube[8101]: [peertube.x.fr:443] 2025-11-16 18:39:57.041 error: Client log: Backend returned code 400, errorMessage is: Invalid grant: user credentials are invalid {
2025-11-16T18:39:57.041892+01:00 x peertube[8101]: "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0",
2025-11-16T18:39:57.041961+01:00 x peertube[8101]: "meta": "{\"url\":\"https://peertube.x.fr/api/v1/users/token\"}",
2025-11-16T18:39:57.042022+01:00 x peertube[8101]: "url": "https://peertube.x.fr/login"
2025-11-16T18:39:57.042215+01:00 x peertube[8101]: }
2025-11-16T18:39:57.042450+01:00 x peertube[8101]: [peertube.x.fr:443] 2025-11-16 18:39:57.042 info: 193.248.43.192 - - [16/Nov/2025:17:39:57 +0000] "POST /api/v1/server/logs/client HTTP/1.0" 204 - "https://peertube.x.fr/login" "Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0"
The first lines seems to show that the parameters are correct.
The application is granted for “all_users” and “visitors”, but does it means that any user can log with its own account ?
otm33
November 16, 2025, 6:15pm
4
Hello @clacos
Can you share your LDAP Peertube configuration ?
clacos
November 17, 2025, 9:28am
5
I don’t know how to share it, is there a file I can upload ? Or do you want me to screenshot the page ?
Thanks,
otm33
November 17, 2025, 10:24am
6
You can copy/paste the keys-values or share a screenshot.
otm33
November 20, 2025, 6:21pm
8
Est-ce que le problème se pose pour tous tes utilisateurs LDAP ou pour un seul ?
clacos
November 20, 2025, 7:07pm
9
Le soucis c’est que je n’ai qu’un seul utilisateur pour le moment.
otm33
November 20, 2025, 7:09pm
10
C’est bien l’origine du problème, je pense : ton compte root “peertube” et ton unique utilisateur LDAP yunohost ont le même… mail. Donc ça ne passe pas: ton utilisateur YNH est rejeté.
clacos
November 20, 2025, 9:32pm
12
Je vais vérifier ça, merci !
clacos
November 22, 2025, 8:11am
13
C’était bien ça, merciii !!!
J’ai créé un nouveau compte et il a pu se connecter
J’ai modifié l’adresse email de root et j’ai pu me connecter avec mon compte ‘guillaume’.
Parfait tout ça.
system
Closed
December 7, 2025, 8:11am
14
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.