Hi FreeRDP developers,

I wanted to let you know that I am back to work on network level
authentication. I started by writing unit tests for the code that I had
written a couple of months ago, and I almost completed the NTLMv2 response.
I'm doing my work on the "nla" branch until I get it working:

http://freerdp.git.sourceforge.net/git/gitweb.cgi?p=freerdp/freerdp.git;a=shortlog;h=refs/heads/nla

I got my unit test to work for NTLMv2 response computation, using a
pre-computed timestamp value from the following example:
http://davenport.sourceforge.net/ntlm.html#theNtlmv2Response

However, in a real-life scenario, the timestamp is not hard coded like in
the unit test. The computation of the timestamp is described as follows:

The timestamp is the most tedious part of this; looking at the clock on my
desk, it's about 6:00 AM EDT on June 17th, 2003. In Unix time, that would be
1055844000 seconds after the Epoch. Adding 11644473600 will give us seconds
after January 1, 1601 (12700317600). Multiplying by 107 (10000000) will give
us tenths of a microsecond (127003176000000000). As a little-endian 64-bit
value, this is "0x0090d336b734c301" (in hexadecimal).

This is causing me some problems, because the timestamp is a 64-bit
little-endian integer. Does anybody has an idea on how I could compute that
value in a way that is going to be portable to 32-bit/64-bit +
little-endian/big-endian systems + various compilers? I'm a bit stuck on
this one.
------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to