alternate form of tconX response

jra at dp.samba.org jra at dp.samba.org
Thu Aug 15 15:57:01 GMT 2002


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