LPIC-3 Exam 300 (Mixed Environments) — Question 9
Which of the following Samba variables must be used to pass the machine name to the script specified in add machine script within a Samba configuration file?
Answer options
- A. %m
- B. %w
- C. %p
- D. %q
- E. %u
Correct answer: E
Explanation
The correct answer is %u, which represents the username of the machine that is being added. The other options, while relevant to Samba configurations, do not specifically pass the machine name to the add machine script as required.