nerdexam
CompTIA

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.

Essential System Services

Question

Which smb.conf configuration keyword determines the hostname resolution order?

Options

  • Ause ads
  • Bname resolve order
  • Cuse nsswitch.conf
  • Duse resolv.conf

How the community answered

(27 responses)
  • B
    93% (25)
  • C
    4% (1)
  • D
    4% (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.

Ause ads

`use ads` is a global parameter that configures Samba's role within an Active Directory domain, not its name resolution order.

Bname resolve orderCorrect

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.

Cuse nsswitch.conf

`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.

Duse resolv.conf

`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

#Samba configuration#smb.conf#hostname resolution

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice