]> git.eshelyaron.com Git - emacs.git/commit
lisp/net/ntlm.el: Match Mozilla Type 1 and 3 message behavior
authorThomas Fitzsimmons <fitzsim@fitzsim.org>
Sun, 2 Oct 2016 03:30:07 +0000 (23:30 -0400)
committerThomas Fitzsimmons <fitzsim@fitzsim.org>
Thu, 6 Oct 2016 00:18:17 +0000 (20:18 -0400)
commit680e3986adaf1742a6a69ef2eb43a874ca6d5984
tree371df1b61dfdd21bbd45df065e91a73fe03e9476
parent9adfb021df482c6aa94a043f07acf1e8eb695bf2
lisp/net/ntlm.el: Match Mozilla Type 1 and 3 message behavior

* lisp/net/ntlm.el (ntlm-build-auth-request): Only set
"negotiate domain supplied" bit when a domain is supplied.  Do
not set "negotiate workstation supplied" bit.
(ntlm-build-auth-response): Set domain to empty string by
default.  Set workstation name to "WORKSTATION".  Set flags to
logical and of Type 1 and Type 2 message flags.  Remove four
trailing 0 bytes.  Always set LM response.  Hard-code domain
offset.  Reorder buffer fields.
lisp/net/ntlm.el