example_configs: Add Peertube

This commit is contained in:
ChibyX
2025-05-16 17:11:38 +03:00
committed by GitHub
parent 7330496a77
commit 97bcfd1a99
2 changed files with 89 additions and 0 deletions
+1
View File
@@ -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)
+88
View File
@@ -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.