changes for try authentication with ldap
changes for try authentication with ldap