Linux_FoundationLinux_Foundation
LFCS · Question #623
LFCS Question #623: Real Exam Question with Answer & Explanation
The correct answer is A: -user. To connect to a Samba server as an authenticated user using smbclient, you must specify the username with either the -U or -user option.
Submitted by rohit_dlh· Apr 18, 2026Networking
Question
Which smbclient option is used when connecting to a server as an authenticated user? (Select TWO correct answers.)
Options
- A-user
- B-u
- C-guest
- D-password
- E-U
Explanation
To connect to a Samba server as an authenticated user using smbclient, you must specify the username with either the -U or -user option.
Common mistakes.
- B.
-uis not a standard or recognized option for specifying a username insmbclient; the correct options are-Uor-user. - C. The
-guestoption is used to connect as an unauthenticated guest, which is the opposite of connecting as an authenticated user. - D.
-passwordis not a validsmbclientoption for providing a password; passwords are usually prompted for interactively or provided via specific flags like-Por--password(though-passwordalone is incorrect).
Concept tested. smbclient authenticated connection options
Reference. https://www.samba.org/samba/docs/current/manpages/smbclient.1.html
Topics
#smbclient#SMB/CIFS#Authentication#Command-line options
Community Discussion
No community discussion yet for this question.