nerdexam
Linux_Foundation

LFCS · Question #592

The response times on a Samba server are gradually increasing, so it is decided to experiment with various socket options in smb.conf. Which of the following are valid values for this parameter?…

The correct answer is A. TCP_NODELAY D. IPTOS_LOWDELAY E. SO_KEEPALIVE. This question asks to identify valid socket options that can be configured in the smb.conf file to optimize Samba server network performance.

Submitted by fatema_kw· Apr 18, 2026Service Configuration

Question

The response times on a Samba server are gradually increasing, so it is decided to experiment with various socket options in smb.conf. Which of the following are valid values for this parameter? (Choose THREE correct answers)

Options

  • ATCP_NODELAY
  • BSO_NOBROADCAST
  • CSO_TXBUF
  • DIPTOS_LOWDELAY
  • ESO_KEEPALIVE

How the community answered

(46 responses)
  • A
    91% (42)
  • B
    2% (1)
  • C
    7% (3)

Why each option

This question asks to identify valid socket options that can be configured in the `smb.conf` file to optimize Samba server network performance.

ATCP_NODELAYCorrect

`TCP_NODELAY` is a valid socket option used to disable the Nagle algorithm, which can improve response times for small packets by sending them immediately.

BSO_NOBROADCAST

`SO_NOBROADCAST` is not a standard Samba `socket options` parameter value; it is generally used with broadcast sockets to prevent them from sending packets to the broadcast address.

CSO_TXBUF

`SO_TXBUF` is not a standard Samba `socket options` parameter value; `SO_SNDBUF` or `SO_RCVBUF` are used for setting send/receive buffer sizes, but not typically directly configured via `socket options` in smb.conf with `SO_TXBUF`.

DIPTOS_LOWDELAYCorrect

`IPTOS_LOWDELAY` is a valid IP Type Of Service (TOS) option that can be set on sockets to prioritize low-latency traffic, which is beneficial for interactive services.

ESO_KEEPALIVECorrect

`SO_KEEPALIVE` is a valid socket option that enables the periodic transmission of keep-alive messages to detect dead peers and prevent idle connections from being dropped by network devices.

Concept tested: Samba socket options configuration

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

Topics

#Samba#smb.conf#Socket Options#Network Tuning

Community Discussion

No community discussion yet for this question.

Full LFCS Practice