问题原文
原帖链接 · ebsf · CC BY-SA 4.0
I am administering a standalone user-authenticated Samba 4.3.11 server on Ubuntu 16.04, which is accessed by Windows 7 Pro and 10 Pro clients configured to cache offline files.
The question is, what is the difference between the following parameters for smb.conf:
(a) csc policy = manual [the default]
(b) csc policy = documents
(c) csc policy = programs
I haven't found anything distinguishing these parameters in two hours on Google. The smb.conf man page is cryptic, referencing Windows Server policies that no amount of research discerns corresponding concepts. The impression I have gleaned is that "manual" permits user-initiated (i.e., not automatic) file sync and that one or the other of "documents" or "programs" permits automatic file sync.
The Windows clients' Group Policy has been configured to sync at logon, logoff, and specified intervals but this does not occur, at least not obviously. Users can manually initiate syncs, however, consistent with my impression of the default setting.
Any thoughts on the distinctions among these parameters would be most welcome.
已采纳解答
原帖链接 · Andreas Rogge · CC BY-SA 4.0
There is not much documentation on this topic at all. I also noticed that clients sometimes ignore this policy.
One thing I noticed in the past: if you use roaming profiles you have to disable csc policy on that share or weird things will happen (profiles do not sync, strange error messages on the client during profile sync)
AFAICT these parameters just tell the client what to do and won't change the server's behaviour in any way other then telling the client what csc policy is set for this share.
There are four valid values for csc policy. I will try to describe what I understood these parameters do:
disabled
Disable client-side caching of resources on this share.
manual
Allow the client to decide settings for client-side caching of resources on this share.
documents and programs
Optimize the client-side caching for the use with documents or for the use of programs from this share.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
