tls fix
ldap checks fix
Merge pull request #4 from cybera/centos6

Centos6