New Version

ldap.conf is not case sensitive
@ldap_tls is a string not a boolean
code clean up. Remove not used variables