nerdexam
Linux_Foundation

LFCS · Question #311

What does the following command below do? smbclient //server/Reports -U func

The correct answer is D. User func is trying to connect to the Reports share in the Samba server. The smbclient command with the -U option allows a specified user to attempt a connection to a designated Samba share on a server.

Submitted by packet_pusher· Apr 18, 2026Networking

Question

What does the following command below do? smbclient //server/Reports -U func

Options

  • AThe Samba server administrator is providing access permissions to the Reports share to user func.
  • BUser func is downloading the content located in the Reports share of Samba server.
  • CComputer func is trying to make a connection with a Samba server share, and the command will
  • DUser func is trying to connect to the Reports share in the Samba server.

How the community answered

(18 responses)
  • A
    6% (1)
  • C
    6% (1)
  • D
    89% (16)

Why each option

The `smbclient` command with the `-U` option allows a specified user to attempt a connection to a designated Samba share on a server.

AThe Samba server administrator is providing access permissions to the Reports share to user func.

The `smbclient` command is a client utility for accessing shares, not for server administration tasks like providing access permissions.

BUser func is downloading the content located in the Reports share of Samba server.

While downloading is a potential action after connecting, the command itself solely initiates the connection to the share, not a specific download operation.

CComputer func is trying to make a connection with a Samba server share, and the command will

The `-U func` option refers to a *user* named 'func', not a *computer* named 'func'.

DUser func is trying to connect to the Reports share in the Samba server.Correct

The `smbclient` command acts as an FTP-like client for Samba shares, and the `-U func` option explicitly specifies 'func' as the username attempting to establish a connection to the `//server/Reports` share.

Concept tested: Samba client connection utility

Source: https://www.samba.org/samba/docs/man/smbclient.1.html

Topics

#smbclient#Samba#network share#client access

Community Discussion

No community discussion yet for this question.

Full LFCS Practice