nerdexam
Linux_Foundation

LFCS · Question #310

Which smb.conf setting will load the audit and recycle VFS modules?

The correct answer is D. vfs objects = audit recycle. To load specific VFS modules like audit and recycle in Samba's smb.conf, the vfs objects parameter is used with a space-separated list of module names.

Submitted by daniela_cl· Apr 18, 2026Service Configuration

Question

Which smb.conf setting will load the audit and recycle VFS modules?

Options

  • Avfs = audit recycle
  • Bvfs modules = audit,recycle
  • Cvfs modules = audit recycle
  • Dvfs objects = audit recycle

How the community answered

(50 responses)
  • A
    8% (4)
  • B
    2% (1)
  • C
    4% (2)
  • D
    86% (43)

Why each option

To load specific VFS modules like audit and recycle in Samba's `smb.conf`, the `vfs objects` parameter is used with a space-separated list of module names.

Avfs = audit recycle

`vfs` is not the correct parameter name; the correct parameter is `vfs objects`.

Bvfs modules = audit,recycle

`vfs modules` is a deprecated alias for `vfs objects`, but it expects space-separated values, not comma-separated.

Cvfs modules = audit recycle

`vfs modules` is a deprecated alias for `vfs objects`; while the syntax `audit recycle` is correct for the values, `vfs objects` is the preferred and modern parameter name.

Dvfs objects = audit recycleCorrect

The `vfs objects` parameter in the `smb.conf` file specifies a list of Virtual File System (VFS) modules to be loaded for a particular share or globally. These modules, like `audit` and `recycle`, extend Samba's functionality for features such as logging file access or providing a recycle bin for deleted files.

Concept tested: Samba VFS module configuration

Source: https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html

Topics

#Samba#smb.conf#VFS modules#File sharing

Community Discussion

No community discussion yet for this question.

Full LFCS Practice