[Emacs-MIME-en:1001] FLIM smtp.el and NTLM authentication bug?
Sekuri J
sekuri.j at gmail.com
Sat Jul 25 00:42:25 JST 2015
I got a base64-decode error using WL while trying to authenticate using
NTLM with smtp server which supports this mechanism. I traced this to the
"smtp-primitive-auth" function in FLIM's smtp.el.
In it, there's a call to base64 decode the server's response (line 516 of
smtp.el) to client's "AUTH NTLM" request:
(sasl-step-set-data step (base64-decode-string (nth 1 response)))
If the server responds with "NTLM Supported" (which it does in my case),
the base64-decode-string function throws an error.
To get around this, I've edited line 516 to ignore-errors:
(sasl-step-set-data step (ignore-errors (base64-decode-string (nth 1
response))))
Is there a better way to do this?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chise.org/pipermail/emacs-mime-en/attachments/20150724/90157673/attachment.html>
More information about the Emacs-mime-en
mailing list