alternate form of tconX response

Shirish Kalele kalele at
Thu Aug 15 14:45:59 GMT 2002

Yes, it does. If you just set the number of works to 42 without setting up
access masks, offline caching will stop working because you're essentially
giving no permissions for anyone to access the file offline.

I didn't apply this patch to Samba_2_2 because it creates access masks
using the standard Unix permissions. It needs to be extended to handle

- Shirish

On Thu, 15 Aug 2002 jra at 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.
>Ok, so with this patch does the offline sync still work correctly ?

More information about the samba-technical mailing list