I have wrapper web services to read from Active Directory. It works fine on DEV; but on Staging / QA, I am getting this error
Logon failure: unknown user name or bad password.
I am able telnet to the Active directory server on 389 (LDAP port) from both DEV & Staging boxes. I tried with different user accounts who has even read only access to active directory; all worked fine开发者_开发技巧 on DEV but not on Staging / QA. Any clues?
That could be a lot of things, from improperly escaping the password (it probably has characters that are not in "normal" strings in whatever language you're using) to not including the AD DOMAIN name in the username (DOMAIN\username)
You might check the permissions of the account that runs the web service, usually on the Staging/QA the security requirements are higher.
UPDATE http://www.velocityreviews.com/forums/t619647-impersonating-and-windows-authentication.html
精彩评论