Get LDAP return code in login page