Ethereal-dev: [ethereal-dev] Problems with dates in SMB decodes

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Richard Sharpe <sharpe@xxxxxxxxxx>
Date: Mon, 27 Sep 1999 01:08:41 +0900
Hi,

when I look at the dates and times displayed in OpenANDX are wrong.

I have compared them with what Windows shows and they are out by a long shot.

I have looked at what the CIFS JUNE DRAFT shows, and it says that the date
in the OPEN_AND_X SMB is an SMB_DATE, but I have checked that field, and it
does not look like one.

The fields look a little like TIME fields, with a LOW and HI 16-bit
quantities. These are based on the Gregorian calendar ... Which means
adding times from 1601 AD. Damn ...


Regards
-------
Richard Sharpe, sharpe@xxxxxxxxxx, Master Linux Administrator :-),
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Co-author, SAMS Teach Yourself Samba in 24 Hours
Author: First Australian 5-day, intensive, hands-on Linux SysAdmin course