4

I'm failing at finding the commands I need to send to authenticate to a SMTP server using NTLM.

I think it goes something like:

AUTH NTLM <bae64encode something>
334
<bae64encode something>
235
Dylan
  • 2,392
  • 6
  • 26
  • 34
  • You may want to be more specific about your environment, etc. Authorization in the SMTP RFC probably doesn't include any support for NTLM so I would assume you're using Exchange or something that extends the original spec, but you know what they say about assuming. – TheXenocide Sep 16 '08 at 15:38

2 Answers2

5

You need a Base64-encoded Type 1 message. Read this.

Jim
  • 72,985
  • 14
  • 101
  • 108
  • 3
    I've never been very good at reading RFCs, if you could give me an example I would be better able to read that RFC next time I need it. – Dylan Sep 16 '08 at 15:59
  • Click the link. Scroll down looking for "example". – tripleee Mar 08 '18 at 07:18
5

i think the following liknk might be helpful for you

http://msdn.microsoft.com/en-us/library/cc246870%28v=prot.10%29.aspx

You need to encode everything and follow NTLM authentifaction protocol.