nerdexam
Linux_Foundation

LFCS · 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 on a Linux system, the most suitable method is to install libnss_wins.so and configure the Name Service Switch (NSS) subsystem.

Submitted by noor.lb· Apr 18, 2026Networking

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

(56 responses)
  • A
    2% (1)
  • B
    5% (3)
  • C
    9% (5)
  • D
    84% (47)

Why each option

To resolve NetBIOS names on a Linux system, the most suitable method is to install `libnss_wins.so` and configure the Name Service Switch (NSS) subsystem.

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

Dynamic DNS is primarily for resolving hostnames (DNS names) to IP addresses, not for directly accessing machines by their NetBIOS names, which is a different naming system.

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

Running `nmbd` and `winbindd` with WINS proxy enabled on the Linux system allows it to *forward* NetBIOS name queries for *other* machines, but it doesn't directly configure the local system's name resolution to use NetBIOS names effectively for itself.

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

NIS (Network Information Service) is an older Unix directory service and is not designed to integrate with or resolve NetBIOS names from a Windows environment.

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

Installing the `libnss_wins.so` library (part of Samba client tools) and configuring `/etc/nsswitch.conf` to include `wins` in the `hosts` entry (`hosts: files dns wins`) allows the Linux system to use WINS or NetBIOS broadcasts for name resolution, enabling access to Windows machines by their NetBIOS names.

Concept tested: Linux NetBIOS name resolution configuration

Source: https://www.samba.org/samba/docs/current/manpages/nss-winbind.5.html

Topics

#NetBIOS#WINS#Name Resolution#nsswitch.conf

Community Discussion

No community discussion yet for this question.

Full LFCS Practice