Questions tagged [smbclient]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 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, ...
0 votes
1 answer
35 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 ...
  • 1,121
0 votes
1 answer
1k 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 ...
  • 113
0 votes
0 answers
104 views

VMWare changing to ACL permissions when I try to run a VM on Truenas smb share

I recently updated (unfortunately) both VMWare Workstation Pro and TrueNAS. After the update I got onto a problem that when run a VM from a locale computer that its files are located on an SMB share ...
0 votes
1 answer
557 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 ...
0 votes
1 answer
141 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 ...
  • 211
3 votes
0 answers
3k 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 ...
2 votes
0 answers
901 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 ...
2 votes
2 answers
3k 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 ...
  • 81
0 votes
1 answer
1k 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 ...
1 vote
2 answers
1k 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: ...
  • 25
3 votes
1 answer
340 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:...
  • 131
0 votes
1 answer
278 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 ...
  • 147
6 votes
1 answer
6k 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 ...
  • 180
0 votes
0 answers
3k 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 '...
  • 1
0 votes
0 answers
921 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 ...
  • 521
0 votes
0 answers
2k 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 ...
  • 322
1 vote
2 answers
22k 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 ...
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 ...
-1 votes
1 answer
1k 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....
  • 112
2 votes
1 answer
5k views

Cannot mount SMB folder from Win10 to Ubuntu

I trying to mount folder from my Win10 machinr to Ubuntu (which inside VirtualBox, but it doesnt matter). On my Win10 I disable SMB1, due to recent events: PS C:\Users\Flowneee> Get-...
  • 139
0 votes
0 answers
738 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 ...