example_configs/peertube.md
To set up LDAP authentification in Peertube, you need to install auth-ldap plugin in Plugins/Themes in administration settings.
100
Enter URL or IP of your LLDAP server, starting with ldap:// or ldaps:// if you're using a secure protocol. Then specify port your LLDAP server uses.
Example:
ldap://127.0.0.1:3890
Toggle Insecure TLS if you're using plain LDAP, or keep untoggled if you're using LDAPS.
Leave it blank if you're using plain LDAP.
uid=admin,ou=people,dc=example,dc=com
You can create special bind user, but it should belong to group lldap_admin or lldap_strict_readonly.
Enter password for bind user you specified on previous step.
ou=people,dc=example,dc=com
(|(mail={{username}})(uid={{username}}))
mail
0
uid
The following settings are mandatory.
ou=groups,dc=example,dc=com
(member={{dn}})
cn=peertube_admins,ou=groups,dc=raft-server,dc=local
All users who belong to this group will be logged in with Administrator role.
cn=peertube_moderators,ou=groups,dc=raft-server,dc=local
All users who belong to this group will be logged in with Moderator role.
cn=peertube users,ou=groups,dc=raft-server,dc=local
All users who belong to this group will be logged in with User role.
Toggle this box, so users who don't belong to any group specified in previous steps will be logged in with User role. Keep this box toggled off so users who don't belong to any group specified in previous steps will be refused from logging in.