nerdexam
Linux_Foundation

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.

Submitted by satoshi_tk· Apr 18, 2026Service Configuration

Question

Which parameter should be set in smb.conf to enable off-line caching of data files.

Options

  • Aoffline policy = documents
  • Boffline = documents
  • Ccsc policy = documents
  • Dvfs objects = offline

How the community answered

(16 responses)
  • B
    6% (1)
  • C
    94% (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`.

Aoffline policy = documents

`offline policy` is not a valid or standard `smb.conf` parameter for configuring client-side caching.

Boffline = documents

`offline` is not a valid or standard `smb.conf` parameter for configuring client-side caching.

Ccsc policy = documentsCorrect

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.

Dvfs objects = offline

`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

#Samba#smb.conf#Offline caching#CSC policy

Community Discussion

No community discussion yet for this question.

Full LFCS Practice