From 97bcfd1a99223d531f96ea780224f351464c35c4 Mon Sep 17 00:00:00 2001 From: ChibyX <118626347+ChibyX@users.noreply.github.com> Date: Fri, 16 May 2025 17:11:38 +0300 Subject: [PATCH] example_configs: Add Peertube --- README.md | 1 + example_configs/peertube.md | 88 +++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 example_configs/peertube.md diff --git a/README.md b/README.md index e55be8a..3e0cf9b 100644 --- a/README.md +++ b/README.md @@ -627,6 +627,7 @@ folder for help with: - [OCIS (OwnCloud Infinite Scale)](example_configs/ocis.md) - [OneDev](example_configs/onedev.md) - [Organizr](example_configs/Organizr.md) +- [Peertube](example_configs/peertube.md) - [Penpot](example_configs/penpot.md) - [pgAdmin](example_configs/pgadmin.md) - [Portainer](example_configs/portainer.md) diff --git a/example_configs/peertube.md b/example_configs/peertube.md new file mode 100644 index 0000000..6f784b0 --- /dev/null +++ b/example_configs/peertube.md @@ -0,0 +1,88 @@ +# Example config for Peertube +To set up LDAP authentification in Peertube, you need to install `auth-ldap` plugin in `Plugins/Themes` in administration settings. + +## LDAP server settings +### Auth weight +``` +100 +``` +### URL +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. + +### Path to LDAP Server Certificate Chain of Trust +Leave it blank if you're using plain LDAP. + +## Bind user settings +### Bind DN +``` +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`. + +### Bind Password +Enter password for bind user you specified on previous step. + +## User search settings +### Search base +``` +ou=people,dc=example,dc=com +``` + +### Search filter +``` +(|(mail={{username}})(uid={{username}})) +``` + +### Mail property +``` +mail +``` + +### Mail property index +``` +0 +``` + +### Username property +``` +uid +``` + +## Groups settings +The following settings are mandatory. +### Group base +``` +ou=groups,dc=example,dc=com +``` + +### Group filter +``` +(member={{dn}}) +``` + +### Administrator group 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. + +### Moderator group DN +``` +cn=peertube_moderators,ou=groups,dc=raft-server,dc=local +``` +All users who belong to this group will be logged in with `Moderator` role. + +### User group DN +``` +cn=peertube users,ou=groups,dc=raft-server,dc=local +``` +All users who belong to this group will be logged in with `User` role. + +### No group matched login +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.