I’m using Fly.io to host an instance of “Authentik”, which provides a built-in LDAP server. While I’m not super familiar with the technical workings of LDAP, it seems that the URI LDAP tools expect must be ldap://<subdomain>.fly.dev
(or equivalent). Even though I’ve told my Fly app to expose port 389
, I haven’t been able to connect using ldapsearch
nor nslcd
.
From my minimal understanding, LDAP can technically operate of TCP
/UDP
, but swapping in tcp://
for ldap://
when doing ldapsearch
causes parsing errors.
Is there any way I can configure a Fly.io instance to use the proper ports (389
/636
)/protocols?
Here’s the relevant part of my fly.toml
:
[[services]]
internal_port = 3389
# protocol = "tcp"
processes = ["server"]
[services.concurrency]
hard_limit = 100
soft_limit = 50
type = "connections"
[[services.ports]]
port = 389
From my understanding, this should read as: “map the container’s port 3389
to host port 389
, which will also be publicly available.” Is this correct?
Also, I checked, with nmap
, that port 389
is open – it is indeed.