NTLM AUTH for SMTP server
-
Good day Friends! Here comes a new challenge! Need to discuss whether it is right or what? My problem is that the challenge sent by the server should be 8 bytes as i read from the documentation. As i decode the hash send by the server and Extract Challenge from it, it gives me only 7 characters including null character. should i generate the response by using that 7 byte challenge or somewhere i am wrong. is the challenge must be 8 bytes? In short my question is:: can a challenge be less than 8 bytes?
-
Good day Friends! Here comes a new challenge! Need to discuss whether it is right or what? My problem is that the challenge sent by the server should be 8 bytes as i read from the documentation. As i decode the hash send by the server and Extract Challenge from it, it gives me only 7 characters including null character. should i generate the response by using that 7 byte challenge or somewhere i am wrong. is the challenge must be 8 bytes? In short my question is:: can a challenge be less than 8 bytes?
Aabid wrote:
My problem is that the challenge sent by the server should be 8 bytes as i read from the documentation. As i decode the hash send by the server and Extract Challenge from it, it gives me only 7 characters including null character.
The documentation says that authentication is base64 encoded data. It looks like this:
AUTH NTLM <base64encoded type 1 message> //client
334 <base64encoded type 2 challenge message> //server... the challenge itself is an 8-byte block of random data
<base64encoded type 3 response> //client
235 NTLM authentication successful //serverFor details see The NTLM Authentication Protocol[^], at the end is another example for SMTP. /M
Webchat in Europe :java: Now with 26% more Twitter
modified on Wednesday, March 24, 2010 10:39 AM