nerdexam
CompTIA

LX0-104 · 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, when used with //server/Reports -U func, attempts to establish a connection to the Reports share on server as the user func.

Essential System Services

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

(38 responses)
  • A
    3% (1)
  • B
    5% (2)
  • D
    92% (35)

Why each option

The `smbclient` command, when used with `//server/Reports -U func`, attempts to establish a connection to the `Reports` share on `server` as the user `func`.

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

`smbclient` is a client tool for connecting to shares, not for administering server permissions; permissions are managed on the Samba server itself.

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

While `smbclient` can be used to download content, the given command only initiates the connection to the share; it does not specify a download operation.

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

This option is incomplete and refers to 'Computer func' which is incorrect; `-U func` specifies a *user* named func, not a computer.

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

The `smbclient` utility is a command-line FTP-like client for accessing Samba/SMB/CIFS shares. The syntax `//server/share` specifies the target share, and `-U func` explicitly indicates that the connection should be attempted using the username `func`. Therefore, this command directly initiates a connection attempt by `user func` to the `Reports` share on the `server`.

Concept tested: `smbclient` command usage

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

Topics

#Samba client#smbclient#network shares

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice