H
Hari
Hi all,
I am using the JAAS framework to authenticate users on
Active Directory Service (using LDAP).
If the user credentials are wrong we normally get the LDAP
error code 49: LDAP_INVALID_CREDENTIALS.
But this errors are also thrown even if, for a user the
password has expired or the user account is disabled.
I needed to show to the user specific messages like
his/her bind with the Active Directory failed because for
specific reasons like "PASSWORD EXPIRED","ACCOUNT
DISABLED".
So how do i track whether the user connection failed for
so & so specific reason.
Does Active Directory provide any Error Codes with LDAP
(which can track the exact reasons for failure)
Regards,
Hari
I am using the JAAS framework to authenticate users on
Active Directory Service (using LDAP).
If the user credentials are wrong we normally get the LDAP
error code 49: LDAP_INVALID_CREDENTIALS.
But this errors are also thrown even if, for a user the
password has expired or the user account is disabled.
I needed to show to the user specific messages like
his/her bind with the Active Directory failed because for
specific reasons like "PASSWORD EXPIRED","ACCOUNT
DISABLED".
So how do i track whether the user connection failed for
so & so specific reason.
Does Active Directory provide any Error Codes with LDAP
(which can track the exact reasons for failure)
Regards,
Hari