[Samba] Offline Caching

Mike Howard mike at dewberryfields.co.uk
Sun Feb 5 16:39:10 MST 2012

On 05/02/2012 15:47, Charles Marcus wrote:
> On 2012-02-04 10:33 AM, Volker Lendecke wrote:
>> On Sat, Feb 04, 2012 at 02:54:13PM, Mike Howard wrote:
>>> I'm sure this has been asked before but I can't find anything
>>> recent. Using Samba4 and windows clients, the client logs include
>>> lots off 'windows has detected that offline caching is enabled on
>>> the roaming profile share.......' messages. Is this an issue and if
>>> so, how do I sort it? I've found references to 'csc policy =
>>> disable' but this is not recognised in samba4 smb.conf.
>> Probably someone needs to take the time to port this feature from the
>> Samba3 based fileserver to the Samba4 based one. Patches welcome:-)
> Confused on both the question and answer...
> Is the question 'How do I enable offline caching for shares in 
> Samba4', or 'how do I *disable* offline caching for a specific share 
> in samba4'?
> Then, Volker, which one of these questions does your answer pertain 
> to? Meaning, does Samba4 *not* have an option to 'disable offline 
> caching' for specific shares?
> That said, Microsoft requires that offline caching be disabled on the 
> roaming profiles share for Windows XP/2000 clients. Thankfully they 
> have solved this problem with Vista/7 clients, and using Roaming 
> Profiles + Redirected Folders (which is now recommended best practice) 
> works much better, in fact pretty much seamlessly, even in cases where 
> lots of 'disconnected' users (ie, laptops that come and go) exist...

The question was 'how do I _disable_ offline caching' and no, there does 
not appear to be a way to do this in Samba4.

More information about the samba mailing list