我一直在尝试使用Active Directory凭据连接到Web服务,而在服务器端,这就是事件查看器显示的内容:
08/06/2014 05:50:39 p.m. An account failed to log on.
Subject:
Security ID: NULL SID
Account Name: -
Account Domain: -
Logon ID: 0x0
Logon Type: 3
Account For Which Logon Failed:
Security ID: NULL SID
Account Name: VALIDUSER-REDACTED
Account Domain: VALIDDOMAIN-REDACTED
Failure Information:
Failure Reason: Unknown user name or bad password.
Status: 0xc000006d
Sub Status: 0xc0000064
Process Information:
Caller Process ID: 0x0
Caller Process Name: -
Network Information:
Workstation Name: WORKSTATION-REDACTED
Source Network Address: 123.456.789.012
Source Port: 1234
Detailed Authentication Information:
Logon Process: NtLmSsp
Authentication Package: NTLM
Transited Services: -
Package Name (NTLM only): -
Key Length: 0
我能够通过浏览器使用相同的凭据进行身份验证和发送成功请求,但无法使用客户端执行此操作。根据事件日志,我发送了一个"未知用户名或密码错误"但它与我用于通过浏览器测试Web服务的信息相同。
我尝试使用NTLM身份验证发送这些请求;有没有办法知道我是否应该使用NTLMv1,NTLMv2,Kerberos或其他类型的身份验证?