LX0-104 · Question #582
Which smb.conf configuration keyword determines the hostname resolution order?
The correct answer is B. name resolve order. The name resolve order configuration keyword in smb.conf dictates the sequence in which Samba attempts to resolve NetBIOS names to IP addresses.
Question
Options
- Ause ads
- Bname resolve order
- Cuse nsswitch.conf
- Duse resolv.conf
How the community answered
(27 responses)- B93% (25)
- C4% (1)
- D4% (1)
Why each option
The `name resolve order` configuration keyword in `smb.conf` dictates the sequence in which Samba attempts to resolve NetBIOS names to IP addresses.
`use ads` is a global parameter that configures Samba's role within an Active Directory domain, not its name resolution order.
The `name resolve order` parameter in the `smb.conf` file allows administrators to explicitly define the priority and methods (e.g., lmhosts, host, wins, bcast) Samba uses when performing NetBIOS name resolution. This control is vital for proper resource discovery.
`use nsswitch.conf` is not a valid Samba parameter; `nsswitch.conf` is a system-wide configuration for name service lookups, distinct from Samba's internal NetBIOS resolution order.
`use resolv.conf` is not a valid Samba parameter; `resolv.conf` is a system-wide file for DNS resolution, which is different from Samba's NetBIOS name resolution process.
Concept tested: Samba NetBIOS name resolution order
Source: https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html
Topics
Community Discussion
No community discussion yet for this question.