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.
Question
Options
- Avfs = audit recycle
- Bvfs modules = audit,recycle
- Cvfs modules = audit recycle
- Dvfs objects = audit recycle
How the community answered
(50 responses)- A8% (4)
- B2% (1)
- C4% (2)
- D86% (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.
`vfs` is not the correct parameter name; the correct parameter is `vfs objects`.
`vfs modules` is a deprecated alias for `vfs objects`, but it expects space-separated values, not comma-separated.
`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.
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
Community Discussion
No community discussion yet for this question.