Skip to content

NTLM not usable if server supports negotiate and NTLM #139

@antoniusostermann

Description

@antoniusostermann

Assumptions:

  • Server supports NEGOTIATE and NTLM. Thus, the servers response header looks like this:
GET ....
HTTP/1.1 401 Unauthorized
....
WWW-Authenticate: NTLM ...the-key...
WWW-Authenticate: Negotiate
  • Client does not support negotiate, wants to use NTLM
  • Client uses correct NTLM configuration / parameters / etc

Result:

What to change (or to monkeypatch, if anyone does not want this behaviour):

Since the gem is not able to handle two entries at all, this gem maybe generally doesn't work if server sends negotaite AND ntlm headers (didn't test). If so, this issue contains two kind of things: no possibility to force ntlm, no functionality if server supports both / sends both entries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions