PeerTube LDAP not working
Hello All =]
Attempting to install and mess with PeerTube.. I configured it to use Cloudron LDAP to authenticate with the Cloudron User Directory but it does not appear to work.
Is this supposed to work out of the box or are there additional config to be made?
Checked the Docs & Took a look @ /app/data/production.yaml but did not see anything stick out
Tried using a username and the email but it just says Incorrect user or PW =/
Any insight or suggestions are appreciated!
@girish after some testing:
1 - I was able to get the expected results of cloudron LDAP users being able to log into a new peertube installation (on my clients org)
2 - when testing on my org LDAP does not work on fresh installs. Tried it on a subdomain and a secondary domain (root) with no luck
3 - What i did find:
- Both orgs on v5.6.3
- Both PeerTube installs on 2.4.0 (v1.1.1)
4 - My clients org has the plugin installed automatically - where as my installs are missing the LDAP plugin for some reason ️
@girish No they are not on the same machine/setup
The one that is working as expected is hosted on DO
Where as my org that is not working is hosted on site (Dell R610 - 12 cores & 64 GB RAM)
- Technically the Dell has like 7X more resources than the DO instance but as It is self administered there is/could be some other differences....
I will send the logs =]
The issue here was that we use the peertube CLI to install the LDAP plugin. The peertube CLI makes a https call to the app's location. However, it seem hairpin routing does not work on the network. And thus LDAP plugin was not getting installed.
A workaround was to login as admin and install the LDAP plugin from plugins. Then restart the app.