K
Kodiak
I create a DirectoryEntry object called userEntry and I am calling the
Invoke method. I am calling the SetPassword method and passing the
new password and I am using the DirectoryServices namespace in my
code. The problem that I an experiencing is everytime I call the
SetPassword method I get an exception called Login Failure: unknown
username and password. I have checked the account I am using to use
to authenticate to AD and the account is not disabled or locked out
and the password does not need to be changed on the next login. I am
using secure mode to connect to AD and I can create the AD account
without any problems, but when I set the password I always get an
error. I really do not want to use impersonation as a solution so any
advice you can provide me is much appreciated.
Thanks,
Richard
Invoke method. I am calling the SetPassword method and passing the
new password and I am using the DirectoryServices namespace in my
code. The problem that I an experiencing is everytime I call the
SetPassword method I get an exception called Login Failure: unknown
username and password. I have checked the account I am using to use
to authenticate to AD and the account is not disabled or locked out
and the password does not need to be changed on the next login. I am
using secure mode to connect to AD and I can create the AD account
without any problems, but when I set the password I always get an
error. I really do not want to use impersonation as a solution so any
advice you can provide me is much appreciated.
Thanks,
Richard