nerdexam
Linux_FoundationLinux_Foundation

LFCS · Question #582

LFCS Question #582: Real Exam Question with Answer & Explanation

The correct answer is B: name resolve order. The name resolve order keyword in smb.conf specifies the sequence Samba uses to resolve hostnames to IP addresses.

Submitted by krish.m· Apr 18, 2026Networking

Question

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

Options

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

Explanation

The name resolve order keyword in smb.conf specifies the sequence Samba uses to resolve hostnames to IP addresses.

Common mistakes.

  • A. use ads is a parameter related to Active Directory integration, not hostname resolution order.
  • C. nsswitch.conf is a system-wide configuration file for name service lookups on Unix-like systems, but Samba uses its own name resolve order for NetBIOS/hostname resolution within its smb.conf.
  • D. resolv.conf is a system-wide configuration file for DNS resolution, not a specific Samba keyword for defining its internal hostname resolution order.

Concept tested. Samba name resolution order configuration

Reference. https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html

Topics

#Samba#smb.conf#Hostname Resolution#Networking

Community Discussion

No community discussion yet for this question.

Full LFCS PracticeBrowse All LFCS Questions