Search This Blog

Wednesday, December 10, 2008

LDAP error code

i used LDAP authentication via java , in case of wrong user name or password you get an exception of type AuthenticationException, as you guess in ldap Authentication there could be more than one reason ( not just wrong pwd or user) it could be account is locked , not allowed this time, etc.
i found a list that can help to understand the reason in case you need it:

525 - user not found
52e - invalid credentials
530 - not permitted to logon at this time
531 - not permitted to logon from this workstation
532 - password expired
533 - account disabled
701 - account expired
773 - user must reset password
775 - account locked

more details for the code above you can find here Active Directory LDAP Errors.

1 comment:

Marimuthu Udhayakumar said...

very helpful your blog for me,i would like to improve as developer in java,j2ee.because i am very eager to develope myself in java,j2ee programming..can you help me...