Fix LDAP TLS authentication
Merge pull request #7152 from bhuisgen/master

Fix LDAP TLS authentication