Freitag, 13. Februar 2026

Yunohost fix userlogin peertube via ldap

Using Yunohost version 12.1.39 with peertube 8.0.2 and also after a clean reinstall i can't login with my yunohost users. So after some research i found the simple trick to put the correct informaitons in the plugin configuration and it just works.

Mind that if you install PeerTube with your yunohost user the email of this user gets the one of the root user whicht is beeing created at installing. If you want to use your own yunohost account separate you have to change the admin emailadress to another one!

For setting the correct konfiguration for ldap-auth so you can login with your yunohost users without creating them separately log in with your root user, go to Administration->Settings->Plugins/Designs->auth-ldap and put in:

URL: ldap://localhost:389

Bind DN: [NULL]

Bind Passwort: [NULL]

Search base: dc=yunohost,dc=org

Filter (already was in there in my case): (|(mail={{username}})(uid={{username}}))

Mail property (already was in there in my case): mail

Mail property index (already was in there in my case): 0

Username property (already was in there in my case): uid

Group base: [NULL]

Group filter: (member={{dn}})

Administrator group DN: [NULL]

Moderator group DN: [NULL]

User group DN: [NULL]

Checkbox "No group matches login" keep unchecked


then Update settings and you should be able to login with your yunohost users in peertube now!

Keine Kommentare:

Kommentar veröffentlichen