Here is the definitive answer to the problems with SMBgetatr ...
Damn Windows NT bug.
>Date: Sun, 17 Dec 2000 18:20:27 -0700
>From: Bob Mastors <bob.mastors@xxxxxxxxxxxx>
>Subject: Re: SNIA-CIFSSPEC: Date formats returned by Windows NT 4.0 in
> SMBgetatr request
>To: sharpe@xxxxxxxxxx
>X-Envelope-to: ns
>X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
>X-Mailer: Microsoft Outlook Express 5.00.2919.6700
>X-MSMail-priority: Normal
>Original-recipient: rfc822;sharpe@xxxxxxxxxx
>
>Hi Richard,
>
>This is a bug in NT.
>Do a query that returns the 64 bit time.
>You will see that the DOS_DATE/TIME is just the lower 32 bits
>of the 64 bit time.
>
>Bob
>
>----- Original Message -----
>From: "Richard Sharpe" <sharpe@xxxxxxxxxx>
>To: <snia-cifsspec@xxxxxxxx>
>Sent: Saturday, December 16, 2000 6:59 PM
>Subject: SNIA-CIFSSPEC: Date formats returned by Windows NT 4.0 in SMBgetatr
>request
>
>
>> Hi,
>>
>> In trying to track down a problem with Ethereal's handling of dates in an
>> SMBgetatr (SMB_COM_QUERY_INFORMATION) response, I find that NT seems to be
>> returning dates in a format that I do not understand.
>>
>> I have checked through all the information I have, including
>> CIFS-SPECB-RTF2.doc and nothing talks about a different format. However,
>it
>> is clear that the date/time being returned is in neither DOS_DATE/DOS_TIME
>> nor UTIME format.
>>
>> Does anyone have an answer to this?
>>
>> Regards
>> -------
>> Richard Sharpe, sharpe@xxxxxxxxxx
>> Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
>> Contributing author, SAMS Teach Yourself Samba in 24 Hours
>> Author, Special Edition, Using Samba
>>
>>
>
>
Regards
-------
Richard Sharpe, sharpe@xxxxxxxxxx
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba