nerdexam
CompTIA

LX0-104 · Question #328

What is the most suitable procedure for accessing a Windows machine by its NetBIOS name from a Linux system?

The correct answer is D. Install libnss_wins.so on the Linux system and configure the name service switch subsystem.. To resolve NetBIOS names from a Linux system, the most suitable procedure is to install the libnss_wins.so library and configure the Name Service Switch (NSS) to include wins for host resolution.

Networking Fundamentals

Question

What is the most suitable procedure for accessing a Windows machine by its NetBIOS name from a Linux system?

Options

  • ASetup a dynamic DNS server to accept updated records from the Windows machine.
  • BRun nmbd and winbindd on the Linux system and enable the WINS proxy.
  • CImport the list of the NetBIOS names into a NIS server and enable a NIS client on the Linux system.
  • DInstall libnss_wins.so on the Linux system and configure the name service switch subsystem.

How the community answered

(26 responses)
  • A
    8% (2)
  • B
    4% (1)
  • C
    4% (1)
  • D
    85% (22)

Why each option

To resolve NetBIOS names from a Linux system, the most suitable procedure is to install the `libnss_wins.so` library and configure the Name Service Switch (NSS) to include `wins` for host resolution.

ASetup a dynamic DNS server to accept updated records from the Windows machine.

While Windows machines can register with DNS, this option describes setting up a DNS server, which is primarily for standard hostname resolution, not the direct resolution of NetBIOS names by a Linux client for file sharing purposes.

BRun nmbd and winbindd on the Linux system and enable the WINS proxy.

Running `nmbd` as a WINS proxy allows the Linux system to forward WINS queries, but this is a server-side function, not the direct client-side mechanism for the Linux system itself to resolve NetBIOS names. `winbindd` is for AD integration, unrelated to basic NetBIOS name resolution.

CImport the list of the NetBIOS names into a NIS server and enable a NIS client on the Linux system.

NIS is a directory service for Unix-like systems and is not used for resolving NetBIOS names of Windows machines.

DInstall libnss_wins.so on the Linux system and configure the name service switch subsystem.Correct

The `libnss_wins.so` library provides the Name Service Switch (NSS) module that enables a Linux system to resolve NetBIOS names through WINS or broadcasts. Configuring the `hosts` entry in `/etc/nsswitch.conf` to include `wins` then allows applications to utilize this capability for NetBIOS name resolution.

Concept tested: Linux NetBIOS name resolution client configuration

Source: https://www.samba.org/samba/docs/old/Samba3-HOWTO/NSSandWINS.html

Topics

#NetBIOS name resolution#Linux name services#nsswitch.conf#libnss_wins

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice