开发者

Logon failure: unknown user name or bad password while reading from Active directory

开发者 https://www.devze.com 2023-01-30 06:54 出处:网络
I have wrapper web services to read from Active Directory. It works fine on DEV; but on Staging / QA, I am getting this error

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

0

精彩评论

暂无评论...
验证码 换一张
取 消