On Wed, Aug 09, 2006 at 07:32:53PM +0530, Dhawal Doshy wrote:
Centos 4.3 x86
Is it possible to have different errors when:
a. Password is incorrect
b. Account is locked / inactive / disabled using "LDAP_FILTER
That would be hard, because the LDAP_FILTER is sent to the LDAP server, and
would simply mean that no matching LDAP record was found. It wouldn't be
possible to tell whether this was because the user did not exist, or because
they existed but had accountStatus!=active
However if you set the account options (disableimap=1, disablepop3=1) you
can get something similar:
-ERR POP3 access disabled for this account.
* BYE IMAP access disabled for this account.
It still doesn't say *why* the account was disabled, but at least it's