Added specific error handling of ldap bind errors.