A Samba server is configured with 'vfs objects = recycle' to implement a recycle bin. After some time, users notice that deleted files are not appearing in the recycle bin. Which parameter is likely misconfigured?
Correct; if the repository path is invalid or missing, files are not moved.
Why this answer
The `vfs objects = recycle` module requires the `recycle:repository` parameter to specify the directory where deleted files should be moved. If this parameter is missing or misconfigured, the recycle bin will not function, and deleted files will be permanently removed instead of being stored in the recycle repository.
Exam trap
The trap here is that candidates often confuse the purpose of `recycle:maxsize` or `recycle:versions` with the core requirement of defining the repository path, leading them to overlook the mandatory `recycle:repository` parameter.
How to eliminate wrong answers
Option A is wrong because `recycle:maxsize` limits the maximum size of files that can be recycled, but if it is misconfigured, files exceeding the limit would be permanently deleted, not that no files appear at all. Option B is wrong because `recycle:keeptree` preserves the directory structure within the recycle repository; its misconfiguration would affect the organization of recycled files, not their absence. Option D is wrong because `recycle:versions` controls whether to keep multiple versions of files with the same name; misconfiguration would affect versioning behavior, not the complete failure to recycle files.