Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O official-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FramasoftFramasoft
  • PeerTubePeerTube
  • official-plugins
  • Issues
  • #9
Closed
Open
Issue created Jun 05, 2020 by Michael Koppmann@mkoppmann

LDAP plugin does not support StartTLS

I get the following error when I try to connect to my OpenLDAP:

warn[6/5/2020, 12:51:42 PM] Cannot login ******* in LDAP plugin.

{
  "err": {
    "stack": "ConfidentialityRequiredError: confidentiality required\n    at messageCallback (/usr/local/www/peertube/storage/plugins/node_modules/ldapjs/lib/client/client.js:1198:45)\n    at Parser.onMessage (/usr/local/www/peertube/storage/plugins/node_modules/ldapjs/lib/client/client.js:876:14)\n    at Parser.emit (events.js:310:20)\n    at Parser.write (/usr/local/www/peertube/storage/plugins/node_modules/ldapjs/lib/messages/parser.js:107:8)\n    at Socket.onData (/usr/local/www/peertube/storage/plugins/node_modules/ldapjs/lib/client/client.js:863:22)\n    at Socket.emit (events.js:310:20)\n    at addChunk (_stream_readable.js:286:12)\n    at readableAddChunk (_stream_readable.js:268:9)\n    at Socket.Readable.push (_stream_readable.js:209:10)\n    at TCP.onStreamRead (internal/stream_base_commons.js:186:23)",
    "lde_message": "confidentiality required",
    "lde_dn": null
  }
}

I used this as the URL. The same URL works for e.g. Nextcloud: ldap://ldap.example.org:389

ldapauth-fork the library used for the LDAP plugin does support StartTLS but the plugin needs to be adapted for it.

Assignee
Assign to
Time tracking