ldap error message and turn off login