You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title says, I'm trying to setup LDAPS authentication for PeerTube. In the plugin setup, it asks for the "path to ldap server certificate chain of trust".
I've been googling for over an hour, and all of the example configs people have posted show nothing for this value. Is it needed? Can it be left blank? I am running secure ldap over port 636. Do I have to run just non secure LDAP?
I believe having an incorrect value in the field above is causing my issue, but here is a paste from the logs incase it's something else. I've edited out my public IP and domain name for security reasons, and changed it to "example":
[10.22.224.3:9000 peertube-plugin-auth-ldap] 2025-02-06 14:49:33.490 warn: Could not load custom CA in LDAP plugin {
"err": {
"stack": "Error: ENOENT: no such file or directory, open 'ldaps://example.com:636'",
"message": "ENOENT: no such file or directory, open 'ldaps://example.com:636'",
"errno": -2,
"code": "ENOENT",
"syscall": "open",
"path": "ldaps://example.com:636"
}
}
[10.22.224.3:9000 peertube-plugin-auth-ldap] 2025-02-06 14:51:46.019 warn: Cannot login ritteraf in LDAP plugin. {
"err": {
"stack": "Error: connect ETIMEDOUT example:636\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)",
"message": "connect ETIMEDOUT example:636",
"errno": -110,
"code": "ETIMEDOUT",
"syscall": "connect",
"address": "example",
"port": 636
}
}
[10.22.224.3:9000] 2025-02-06 14:51:46.042 warn: Login error {
"err": {
"stack": "invalid_grant: Invalid grant: user credentials are invalid\n at handlePasswordGrant (file:///app/dist/core/lib/auth/oauth.js:112:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async handleToken (file:///app/dist/core/controllers/api/users/token.js:32:23)",
"message": "Invalid grant: user credentials are invalid",
"statusCode": 400,
"status": 400,
"code": 400,
"name": "invalid_grant"
}
}
Additional information
PeerTube instance URL:
PeerTube version:
NodeJS version:
Ffmpeg version:
Redis version:
PostgreSQL version:
The text was updated successfully, but these errors were encountered:
Describe the problem
As the title says, I'm trying to setup LDAPS authentication for PeerTube. In the plugin setup, it asks for the "path to ldap server certificate chain of trust".
I've been googling for over an hour, and all of the example configs people have posted show nothing for this value. Is it needed? Can it be left blank? I am running secure ldap over port 636. Do I have to run just non secure LDAP?
I believe having an incorrect value in the field above is causing my issue, but here is a paste from the logs incase it's something else. I've edited out my public IP and domain name for security reasons, and changed it to "example":
[10.22.224.3:9000 peertube-plugin-auth-ldap] 2025-02-06 14:49:33.490 warn: Could not load custom CA in LDAP plugin {
"err": {
"stack": "Error: ENOENT: no such file or directory, open 'ldaps://example.com:636'",
"message": "ENOENT: no such file or directory, open 'ldaps://example.com:636'",
"errno": -2,
"code": "ENOENT",
"syscall": "open",
"path": "ldaps://example.com:636"
}
}
[10.22.224.3:9000 peertube-plugin-auth-ldap] 2025-02-06 14:51:46.019 warn: Cannot login ritteraf in LDAP plugin. {
"err": {
"stack": "Error: connect ETIMEDOUT example:636\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)",
"message": "connect ETIMEDOUT example:636",
"errno": -110,
"code": "ETIMEDOUT",
"syscall": "connect",
"address": "example",
"port": 636
}
}
[10.22.224.3:9000] 2025-02-06 14:51:46.042 warn: Login error {
"err": {
"stack": "invalid_grant: Invalid grant: user credentials are invalid\n at handlePasswordGrant (file:///app/dist/core/lib/auth/oauth.js:112:15)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async handleToken (file:///app/dist/core/controllers/api/users/token.js:32:23)",
"message": "Invalid grant: user credentials are invalid",
"statusCode": 400,
"status": 400,
"code": 400,
"name": "invalid_grant"
}
}
Additional information
The text was updated successfully, but these errors were encountered: