Questions tagged [smbclient]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
80 views

Azure Files performance for a remote IPSEC VPN connected site

I have an Azure Files premium account which I setup SMB multichannel. I setup a test folder with 50,000 very small files. If I test with a single file at a remote IPSEC connected site I get around 5-...
WConsulting's user avatar
0 votes
0 answers
302 views

What can cause smbclient to attempt connection on port 139 to a SMB2 server?

I have an Isilon NAS connected to two subnets. I can mount the SMB share fine from the same subnet the Isilon is in, but can't from the other. My It team has assured me ports 445 (and 139 for that ...
Geordie's user avatar
  • 135
0 votes
0 answers
69 views

Linux client: mount.cifs works but net time doesn't

I'm running a Linux VM that needs to access files on Windows machines. For that I have a bunch of CIFS mounts in /etc/fstab that work fine. Idiotically the Windows machines have free-running system ...
musbur's user avatar
  • 203
0 votes
0 answers
225 views

smbclient how get specific files

I have Synology NAS with embedded Linux and can use only predifined utilities. When im try copy remote files through: smbclient connect to remote smb: \> prompt smb: \> mask *file*.rar smb: \>...
kotovname's user avatar
0 votes
0 answers
79 views

wrong count of files samba windows/linux

i have a problem, i have a shared folder via samba, it works perfectly except if it has allot of files/folders, for example: one subfolder has 885 pdf's and browsing with linux i can see all of them, ...
Miguel Ferreira's user avatar
1 vote
1 answer
490 views

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 ...
Cerber's user avatar
  • 1,261
1 vote
1 answer
4k views

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 ...
Chris9834's user avatar
  • 181
0 votes
1 answer
874 views

Cannot access Samba shares despite ostensibly correct permissions

I've been trying to set up Samba shares for some directories on a NAS, and I can't seem to be able to get it to work. A minimalized version of my smb.conf boils down to [global] dns proxy = no create ...
FallenWarrior's user avatar
0 votes
1 answer
398 views

SMB share, from windows, creates files are owned by administrator and permissions and for Everyone. How to force this to be user who created file?

So I have a smb share setup using unisphere. I can login to my windows machine on the domain and my ad account. I can access the share but when creating a file on the share it shows under security ...
IT_User's user avatar
  • 210
4 votes
0 answers
4k views

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 ...
chillsauce's user avatar
2 votes
0 answers
2k views

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 ...
FrankBik's user avatar
2 votes
2 answers
4k views

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 ...
recolic's user avatar
  • 83
0 votes
1 answer
2k views

Issues with SMB on second interface

I have a Windows 2019 stardard server with 2 networks. One is the domain network and is 1GB. One is a 10GB network and doesnt have a Gateway. I can access the admin shares on the 1GB by simply using ...
FrankU32's user avatar
  • 101
2 votes
2 answers
2k views

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: ...
Hawke's user avatar
  • 45
3 votes
1 answer
520 views

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:...
Rob's user avatar
  • 131
0 votes
1 answer
410 views

Sending files from win10 to SMBv1 server? [closed]

Is it possible to only send files from a win10 machine (A), patched to disable SMBv1/CIFS client with 1803, to a very old device (B) using passwordless SMBv1 (strictly)? I was thinking along the ...
bliako's user avatar
  • 157
6 votes
1 answer
10k views

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 ...
Ob1lan's user avatar
  • 190
1 vote
0 answers
4k views

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 '...
GMF's user avatar
  • 11
0 votes
0 answers
1k views

Does not work smbclient in Mac OS x 10.8.3. Socket is not connected

last few days, i can't connect to any windows share in my domain from Mac OS x 10.8.3. According to reinstall, i can't do it, because there are a lot of settings in environment of this os. Can you ...
Piduna's user avatar
  • 571
0 votes
0 answers
4k views

Cannot find "SMB Direct" in Windows Server Standard 2019 Roles and Features

I try to configure SMB Direct on my Windows Server Standard 2019 server but do not see "SMB Direct" in the Roles and Features Configuration Window. It, however, shows in my Windows 10 For WorkStation ...
Matt's user avatar
  • 332
3 votes
2 answers
26k views

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 ...
Prakash Asokan's user avatar
1 vote
1 answer
1k views

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 ...
Jamesking56's user avatar
-1 votes
1 answer
2k views

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....
real_sm's user avatar
  • 112
2 votes
1 answer
6k views

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-...
Flowneee's user avatar
  • 159
0 votes
0 answers
906 views

Veeam Agent for Linux not connecting to SMB from FreeNAS

I want to backup an Ubuntu 16.04 server using Veeam Agent for Linux free edition. I'm trying to do the backups to an SMB/CIFS password protected share created in FreeNAS but am getting a password ...
god_is_love's user avatar