LX0-104 · Question #317
Which of the following ports are used by smbd? (Choose THREE correct answers)
The correct answer is A. 135/TCP D. 139/TCP E. 445/TCP. The smbd daemon primarily uses TCP ports 135, 139, and 445 for its various SMB/CIFS services and associated RPC communications.
Question
Options
- A135/TCP
- B137/UDP
- C138/UDP
- D139/TCP
- E445/TCP
How the community answered
(21 responses)- A86% (18)
- B10% (2)
- C5% (1)
Why each option
The `smbd` daemon primarily uses TCP ports 135, 139, and 445 for its various SMB/CIFS services and associated RPC communications.
Port 135/TCP is used for Remote Procedure Call (RPC) services over NetBIOS, which `smbd` utilizes for certain administrative and communication functions.
Port 137/UDP is used by `nmbd` for NetBIOS Name Service (name registration and resolution), not directly by `smbd` for session services.
Port 138/UDP is used by `nmbd` for NetBIOS Datagram Service (for browsing and other broadcast functions), not directly by `smbd` for file transfer or session establishment.
Port 139/TCP is used for NetBIOS Session Service, enabling legacy SMB/CIFS communication over NetBIOS over TCP/IP.
Port 445/TCP is the primary port for modern SMB direct host communication, which `smbd` uses for file and printer sharing, bypassing NetBIOS.
Concept tested: Samba smbd daemon port usage
Source: https://wiki.samba.org/index.php/Samba_Server_Ports
Topics
Community Discussion
No community discussion yet for this question.