TODO:

Reproduce #523580 (TLS handling, TLS vs. LDAPS)
Reproduce #563170 (binary attribute)
