Function: sasl-ntlm-response
sasl-ntlm-response is a byte-compiled function defined in
sasl-ntlm.el.gz.
Signature
(sasl-ntlm-response CLIENT STEP)
Documentation
SASL step function to generate a NTLM response against the server
challenge stored in the 2nd element of STEP. Called from sasl-next-step.
Source Code
;; Defined in /usr/src/emacs/lisp/net/sasl-ntlm.el.gz
(defun sasl-ntlm-response (client step)
"SASL step function to generate a NTLM response against the server
challenge stored in the 2nd element of STEP. Called from `sasl-next-step'."
(let* ((user (sasl-client-name client))
(passphrase
(sasl-read-passphrase (format "NTLM passphrase for %s: " user)))
(challenge (sasl-step-data step)))
(ntlm-build-auth-response challenge user
(ntlm-get-password-hashes passphrase))))