Questions tagged [smbclient]
Questions about the Samba file sharing application's command line tool, smbclient.
36 questions
0
votes
1
answer
43
views
Why my Samba server doesn't do any check on the domain inserted in the samba client authentication request?
I have configured a smb.service (Samba service version 4.10.15) on a Linux system for sharing the folder myshare.
I'm doing some connection tests by a smbclient installed on an other workstation Linux....
1
vote
1
answer
61
views
Samba authentication error: NT_STATUS_LOGON_FAILURE (linked with PAM: Account Validation Failed)
I would like to share a folder by a Samba server installed in my Linux (yocto) distribution.
The configuration of my Samba server (file /etc/samba/smb.conf)
The output of the command testparm -s is:
# ...
0
votes
1
answer
65
views
smbclient store password for a specific host
I have a network folder in my LAN, I have installed smbclient to access it with the command
smbclient //xxx.xxx.xxx.xxx/share_folder --user=share/user%password
I can access it. But how can I store ...
0
votes
1
answer
242
views
smbclient deltree with read-only directories
I'm trying to delete files on a NetApp server using smbclient //servername/share -c "deltree directory_to_delete". It works except for folders which have the read-only flag set. In this case,...
3
votes
2
answers
1k
views
Linux SMB Client Failed to Connect to SMB Server Forcing AES-256?
I'm trying to connect to SMB share on my TrueNAS from my Fedora. It works well until I decided to enable encryption of SMB data. I put following in the service config on TrueNAS (global settings)
unix ...
1
vote
2
answers
5k
views
How to use smbclient with space in the name of the share directory for apply the command dir
I'm using this command for testing the SMB connection:
smbclient -A=credential_file -L \\hostname
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk ...
2
votes
0
answers
285
views
smbclient does not work on RHEL 8.7: "Illegal instruction (core dumped)"
smbclient //10.206.241.204/C$ -U administrator -d 3
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
...
3
votes
1
answer
27k
views
Using 'get' to transfer contents of folders using smbclient
Using smbclient and the 'get' command to move files from a Windows network share over to a Linux box. I can smbclient from Linux to the network share and bring individual files over by doing ...
0
votes
1
answer
2k
views
Can't make samba share writable
I'm trying to make my samba share (running on Debian 10) writable but it seems that anything I try just breaks the share and I cannot access it anymore.
Here's my current configuration:
[...
3
votes
1
answer
2k
views
smbclient not entering smb shell
I want to access an SMB share on our intranet.
When I execute
smbclient -L //intranet.host/ -U myuser
I can enter my password and get a list of all shares.
When I want to enter the smb shell with
...
1
vote
1
answer
7k
views
How to connect to old Samba-server with new smbclient?
A Linux-based multimedia-box I have runs smbd, which reports its version as 3.0.30.
smbclient 4.10 used to be able to connect to it, but, after upgrading the client to 4.13.8, I'm getting ...
0
votes
0
answers
899
views
Problems connecting Debian to Windows SMB share using smbclient?
I'm having problems connecting my Debian Linux system to my Windows SMB share.
The other windows VMs have no problem mounting the drive, just Linux.
This VM is connected to the AD by realmd, and ...
1
vote
2
answers
16k
views
smbclient throws "ERROR NT_STATUS_IO_TIMEOUT"
I am trying to get a SMB connection to a HackTheBox box with an open SMB port. But smbclient throws an "ERROR NT_STATUS_IO_TIMEOUT" error every time. I've added
client min protocol = CORE
...
2
votes
0
answers
3k
views
SMB mount with Kerberos
I have set up a server with Fedora 33 and joined it to an Active Directory. This worked successful and users can authenticate themselves with their Active Directory user names. I can also see my Linux ...
2
votes
1
answer
7k
views
smbclient protocol negotiation failed: NT_STATUS_IO_TIMEOUT not supported SMB dialect?
I'm trying to do some enumeration on the kioptrix vm from vulnhub and failing to list available shares using smbclient. According to nmap tcp/139 is open. I've used metasploits auxiliary smb_version ...