How do I get the real error code for ADsOpenObject() for AD user

  • Thread starter Thread starter AN
  • Start date Start date
A

AN

When I use ADsOpenObject() to authenticate a user in AD -
The error that I get back for all three conditions below is
8007052eL

1. You must change password on the next login
2. User Password expired
3. Invalid password.
Even if I password the correct password, and the user
password is expired, the same error return

I even used the ADsGetLastError() to try to retrieve the
last error - it doesn't return the last error.

Any help would be appreciated.
Thank you,
An
 
Back
Top