apprenda-kismatic / kubernetes-ldap

Apache License 2.0
55 stars 31 forks source link

Add StartTLS functionality #11

Open danielm0hr opened 6 years ago

danielm0hr commented 6 years ago

Apart from having an encrypted connection from the start (LDAPS), LDAP also supports using StartTLS: Begin with an unencrypted connection, then update to TLS (see RFC4511 Section 4.14).

The go-ldap package already supports this. This commit makes the functionality available to kubernetes-ldap by introducing an additional CLI flag "ldap-starttls".

Signed-off-by: Daniel Mohr daniel.mohr@supercrunch.io