LFCS · Question #308
Which parameter should be set in smb.conf to enable off-line caching of data files.
The correct answer is C. csc policy = documents. To enable off-line caching of data files for Samba shares, the csc policy parameter in smb.conf should be set to an appropriate value like documents.
Question
Options
- Aoffline policy = documents
- Boffline = documents
- Ccsc policy = documents
- Dvfs objects = offline
How the community answered
(16 responses)- B6% (1)
- C94% (15)
Why each option
To enable off-line caching of data files for Samba shares, the `csc policy` parameter in `smb.conf` should be set to an appropriate value like `documents`.
`offline policy` is not a valid or standard `smb.conf` parameter for configuring client-side caching.
`offline` is not a valid or standard `smb.conf` parameter for configuring client-side caching.
The `csc policy` (Client Side Caching policy) parameter in `smb.conf` governs how Windows clients are allowed to cache files locally for offline access. Setting it to `documents`, for instance, allows non-executable files to be cached offline, enhancing client performance and availability.
`vfs objects` specifies Samba VFS modules to load, but `offline` itself is not a standard VFS module for client-side caching; `csc policy` directly manages the caching behavior.
Concept tested: Samba client-side caching configuration
Source: https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html
Topics
Community Discussion
No community discussion yet for this question.