Friday, May 3, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1886  / 3 Years ago, thu, september 2, 2021, 7:45:19

I am unable to list windows shares from terminal. I am getting the following error,



root@ITSTA2:~# smbclient -L 172.XX.XX.XX -U john
params.c:Parameter() - Ignoring badly formed line in configuration file: # Samba config file
WARNING: The "Share modes" option is deprecated
Unknown parameter encountered: "read Size"
Ignoring unknown parameter "read Size"
Enter john's password:
Unknown socket option SO_KEEPLIVE
session setup failed: NT_STATUS_LOGON_FAILURE


Someone sort out the problem pls..


More From » command-line

 Answers
6

You need to specify the name of the remote machine to -L. If you want to force the use of a specific IP, pass it with -I.


[#44783] Friday, September 3, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
girdleas

Total Points: 1
Total Questions: 112
Total Answers: 114

Location: Lesotho
Member since Wed, Jun 2, 2021
3 Years ago
;