mirror of
https://github.com/rroemhild/docker-test-openldap.git
synced 2026-04-25 15:15:53 +03:00
[GH-ISSUE #9] Issues with LDAPS connection #4
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-test-openldap#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jumarko on GitHub (Sep 16, 2019).
Original GitHub issue: https://github.com/rroemhild/docker-test-openldap/issues/9
I cannot connect to LDAPS port 636 from outside the running container.
It's working "fine" (meaning I can at least get the SSL certificate error) but connection is refused when I try this from my host machine (running Docker on Mac).
This works fine when using plain LDAP over the port 389.
I'm running a fork of this project which is basically the same thing with some more imported data: https://github.com/empear-analytics/docker-test-openldap/
Steps:
openssl s_client -connect localhost:636=> 'Connection refused'I've noticed that port 636 should be exposed too but don't know why it's not possible to connect to it.
Also tried
ldapsearchcommand to debug the issue but since it gets cut off at the very beginning I couldn't get much details:@jumarko commented on GitHub (Sep 16, 2019):
Ok, this was a stupid mistake - I just forgot to "expose" the port via
-pparameter:@guusdk commented on GitHub (Nov 2, 2020):
Hargh. I've spent to much time figuring out that I made the exact same mistake. I've created a PR that adjusts the example, in the hope that that will prevent the next poor soul from bashing his head into his keyboard.