Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for ldapi:// #229

Open
andreasschulze opened this issue Dec 17, 2019 · 4 comments
Open

support for ldapi:// #229

andreasschulze opened this issue Dec 17, 2019 · 4 comments

Comments

@andreasschulze
Copy link

LDAP server may serve over a unixsocket. To connect to such servers, a LDAP-client uses an 'normal' LDAPURI ldapi://%2Fpath%2Fto%ldap-socket/dc=base,...

  • the hostpart doesn't contain any ":port"
  • any '/' is encoded as '%2F'
  • see man 5 ldap.conf (OPTIONS, URI)

currently I see ony an error message:
http_auth_ldap: invalid host in LDAP hostname "/path/to/ldap-socket" in /path/to/nginx.conf

@andreasschulze
Copy link
Author

@kvspb
Hello! Is there anything I could do to assist?

@rseichter
Copy link

I ran into the same issue. NGINX and OpenLDAP running on the same host, the latter only providing a Unix domain socket for access, so "ldap:" and "ldaps:" are currently unavailable. Support for the "ldapi:" scheme would be very useful for cases like this.

@davama
Copy link

davama commented Apr 17, 2022

Is this project still maintained?

we switched over to authelia
https://github.com/authelia/authelia
It’s great!

@rseichter
Copy link

@davama Thanks a lot for pointing out authelia. It looks very interesting, and given that it is actively maintained, it might be the better choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants