There are two new LDAP user authentication-related informational messages that Adaptive Server obtains from the LDAP server and passes on 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, the following message displays:
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 will get a message 4002:
Login failed
If auditing is enabled and errors auditing option is turned on:
sp_audit 'errors', 'all', 'all', 'on'
a 4099 message is sent to the audit log. The 4099 message reads:
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.