LDAP authentication fails using SSL with intermediate certificates
When attempting authentication against and LDAP server using SSL/TLS, attempts to bind to the server fail if the server's trust chain includes multiple certificates (e.g. CA+Intermediate)
To me, I have a fix.
Use the full CA chain when sending an LDAP SSL query. Fixes #7830
While here, fix a couple more ldap_start_tls() calls that need a preceding @.