LPIC-3 Exam 300 (Mixed Environments) — Question 4

After successfully connecting to a remote CIFS share using smbclient, the command mget MyFiles is issued to retrieve the folder MyFiles, including all of its contents. Instead of transferring the folder, smbclient returns the error:
NT_STATUS_NO_SUCH_FILE listing \MyFiles
What should be done in order to download the contents of the folder?

Answer options

Correct answer: D

Explanation

The correct answer is D because Samba must be configured to allow recursion for the share in order to use mget for downloading a directory's contents. Options A, B, C, and E are incorrect as they either do not address the underlying server configuration issue or suggest commands that do not effectively resolve the problem.