300-300 · Question #60
Which of the following sections must exist in a Samba configuration file in order to create dynamic shares for printers?
The correct answer is D. [printers]. [printers] is the special Samba section that enables dynamic printer share creation - when present, Samba automatically creates a share for every printer defined in the system's printcap database, without requiring individual [printername] sections. [print$] (A) is a real Samba…
Question
Options
- A[print$]
- B[printcap]
- C[printer]
- D[printers]
- E[spooler]
How the community answered
(50 responses)- A2% (1)
- B2% (1)
- D94% (47)
- E2% (1)
Explanation
[printers] is the special Samba section that enables dynamic printer share creation - when present, Samba automatically creates a share for every printer defined in the system's printcap database, without requiring individual [printername] sections. [print$] (A) is a real Samba section, but it serves a different purpose: hosting printer drivers for Windows clients, not defining printer shares themselves. [printcap] (B) and [spooler] (E) are not valid Samba section names at all. [printer] (C) is similarly invalid - the section name must be the plural [printers] to trigger the dynamic behavior. Memory tip: Think "printers" (plural) = "all printers automatically" - the plural form signals that Samba should handle the entire collection dynamically, whereas a singular name like [printer] would just be a regular custom share called "printer."
Topics
Community Discussion
No community discussion yet for this question.