This repository has been archived on 2022-08-17. You can view files and clone it, but cannot push or open issues or pull requests.
dex/connector/ldap
Eric Chiang 74f5eaf47e connector/ldap: support the StartTLS flow for secure connections
When connecting to an LDAP server, there are three ways to connect:

1. Insecurely through port 389 (LDAP).
2. Securely through port 696 (LDAPS).
3. Insecurely through port 389 then negotiate TLS (StartTLS).

This PR adds support for the 3rd flow, letting dex connect to the
standard LDAP port then negotiating TLS through the LDAP protocol
itself.

See a writeup here:

http://www.openldap.org/faq/data/cache/185.html
2017-04-12 15:25:42 -07:00
..
testdata connector/ldap: support the StartTLS flow for secure connections 2017-04-12 15:25:42 -07:00
gen-certs.sh connector/ldap: support the StartTLS flow for secure connections 2017-04-12 15:25:42 -07:00
ldap.go connector/ldap: support the StartTLS flow for secure connections 2017-04-12 15:25:42 -07:00
ldap_test.go connector/ldap: support the StartTLS flow for secure connections 2017-04-12 15:25:42 -07:00