alternate form of tconX response

Shirish Kalele kalele at veritas.com
Thu Aug 15 16:08:00 GMT 2002


Thanks, Jeremy.

The one thing I haven't looked at is whether older clients can handle
these new-fangled tconX and ntcreate&X replies, or whether we'll have to
fall back to the old ones based on remote_arch.

I'll try and patch HEAD soon with a proper fix both for share and file
ACLs.

- Shirish

On Thu, 15 Aug 2002 jra at dp.samba.org wrote:

>On Thu, Aug 15, 2002 at 04:15:20PM -0700, Shirish Kalele wrote:
>> Steve,
>>
>> There are two extra DWORDs of similar form in the NTCreate&X replies sent
>> by Windows 2000. Win2K sends 42 words instead of the known 34.
>>
>> While exploring client-side caching, I discovered that these are actually
>> access masks for the "User" who's opening the file and "Everyone Else"
>> respectively.  These access masks are used instead of the original NTACL
>> when the file is accessed offline through the CSC cache. The two access
>> masks you are seeing are probably similar "Simple File Sharing"
>> equivalents of share ACLs.
>>
>> Here's a small patch (against Samba 2.2.4) to illustrate SFS masks. You
>> can see the effect different masks have on the files cached by CSC.
>
>Damn good work ! We should definately put this into HEAD.
>
>Thanks Shirish !
>
>Jeremy.
>




More information about the samba-technical mailing list