added LDAP auth capability for connecting to the server