There are two LDAP user authentication-related informational messages that Adaptive Server obtains from the LDAP server and passes to the client:
If you log in to an Adaptive Server using an LDAP authentication mechanism with an LDAP user authentication password that is about to expire, you see:
Your password will expire in <number> days.
If you attempt to log in to Adaptive Server using an LDAP authentication mechanism after the LDAP server administrator resets your password or after your LDAP server password has expired, you see message 4002:
Login failed
If auditing is enabled and the errors auditing option is turned on, message 4099 is sent to the audit log:
Your LDAP password has expired.
Configure your LDAP server to give this additional information. Additionally, Adaptive Server must support the transmission of LDAP password controls to an LDAP client.