Questions tagged [smbclient]

26 questions
6
votes
1 answer

Storage Space Direct : SMB error

So we've got this 4-node Storage Space Direct (S2D) cluster, working for more than 1.5 year without any major issue. The OS is Windows Server 2016. Firewall down for all profiles No antivirus installed, Windows Defender OFF Active Directory…
4
votes
0 answers

Setting up Samba in Docker

I am trying to set up a Samba server in Docker. I tried using dperson/samba image from docker hub at https://hub.docker.com/r/dperson/samba. I followed the instructions and tried to connect to it using smbclient to see if I could access the SMB…
3
votes
2 answers

protocol negotiation failed: NT_STATUS_CONNECTION_RESET

This may look like an old thread. But I tried all types of solution which are provided. But no luck. I have a Shared Folder from fileserver(windows server 2012 R2 - default samba 2.1) My client side configurtion are:- Version 3.5.10-114.el6 The…
3
votes
2 answers

How to create a working samba PUBLIC share on Linux (smbd) for LATEST windows 10 client?

As we know, latest windows 10 upgrade has made samba client refuse to sue guest account. Some organization even make it impossible to disable this bug. This make it impossible to create a public samba share on Linux for win10 clients. You can't…
recolic
  • 93
3
votes
2 answers

Connect to Windows Server 2016 SMB share from CentOS - session setup failed: NT_STATUS_CONNECTION_RESET

I tired to mount a Windows SMB share in Linux using autofs, but I kept getting 'access denied' I decided to test it using smbclient, but I am just getting 'session setup failed: NT_STATUS_CONNECTION_RESET'. sudo smbclient //myfileserver/myshare$ -U…
Hawke
  • 75
  • 1
  • 4
  • 9
3
votes
1 answer

SMB3 mounted on linux / Debian - qemu-img Failed to get "resize" lock

I have a Windows 2016 SMB share mounted on a Debian 10 box. I am using qemu-img to convert an image file the target of which I wish to store on the SMB mount. When I run the command I get this error: error while converting qcow2: Failed to get…
Rob
  • 131
2
votes
0 answers

Configuring SMB Shares on MacOS with /etc/nsmb.conf - Write throttling Issues

Experimenting using some old equipment to serve a 8 bay RAID over 10gbe network, using a 2019 MacPro as a server. This unit is currently running Monterey. Initial testing yields good results to a MacStudio client using a thunderbolt 10gbe adapter.…
hdcdigi
  • 41
2
votes
0 answers

SMB stops working periodically

my Windows Server 2016 Remote Desktop Servers SMB client, randomly stops working for 1 to 10 minutes, then restarts with no user intervention. The Windows SMBClient event log marks the problem with events 30805 and 30807 upon disconnection. Events…
FrankBik
  • 21
  • 3
1
vote
0 answers

smbclient "NT_STATUS_OBJECT_NAME_NOT_FOUND getting alt name for \" on Windows Server 2012 shares

I successfully connected to Windows Server 2012 SMB shares from a CentOS 7 host using the tool smbclient. I can list files and browse directories from the W2012 shares, but when i submit the command 'allinfo filename' I am getting the error…
1
vote
1 answer

smbclient - Download latest file

Trying to script a file download in Ubuntu from an SMB network server (windows-esque). I have a folder tree as follows: file1.tar.gz file2.tar.gz file3.tar.gz These files have different modified dates. I want to download the latest file using…
1
vote
1 answer

mount.cifs takes too long to mount Windows shared folder

Our setup: Server: Windows Server 2008 Client: SHMZ 6.6 (FreePBX, CentOS) mount.cifs version: 4.8.1 smbclient version: Version 3.6.23-14.el6_6 Using this command to connect: mount.cifs //192.168.0.10/Share /mnt/share -o…
real_sm
  • 132
1
vote
1 answer

Cannot access SMB share hosted on Ubuntu from Windows 10

Attempting to access SMB share on Ubuntu from my Windows 10 host fails with "session setup failed: NT_STATUS_NOT_SUPPORTED". Windows 10 has SMB1 disabled: PS C:\> Get-SmbServerConfiguration | Select EnableSMB1Protocol,…
Flowneee
  • 157
1
vote
0 answers

How to fix "semaphore timeout period has expired" when copying some specific JavaScript files to a server share on the same network?

I posted this question on StackOverflow a couple of weeks ago at, but there are no comments or answers there (and it is perhaps more relevant…
PhilipD
  • 121
1
vote
1 answer

cifs mounts with wrong uid, gid (buster -> bullseye)

Context : Existing debian buster acting as CIFS / SMB client Problem : After migration from buster to debian bullseye, mount point is still working but uid and gid option are ignored at the filesystem level (but are correct within the mount…
Cerber
  • 1,291
1
vote
1 answer

mounting smb via ssh tunnel - malformed UNC

on my Fedora box i want to mount a Windows Server Share via a ssh tunnel. The setup consists of two parts, ssh and mount part. Part 1.) i do a ssh portforwarding of Port 445 from windows server to my Fedora box via a linux gateway sudo ssh -C -L…
Chris9834
  • 321
1
2