【问题标题】:How do I know which type of authentication Active Directory is using?我如何知道 Active Directory 正在使用哪种类型的身份验证?
【发布时间】:2014-08-14 14:05:59
【问题描述】:

我一直在尝试使用 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 或其他类型的身份验证?

【问题讨论】:

    标签: web-services active-directory kerberos ntlm event-viewer


    【解决方案1】:

    按照here 的指示,我能够通过浏览器进行身份验证,并使用 Fiddler 捕获授权详细信息。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-25
      • 1970-01-01
      • 1970-01-01
      • 2015-04-17
      • 1970-01-01
      相关资源
      最近更新 更多