Questions tagged [smbclient]

31 questions
5
votes
2 answers

SMB share connection error: "System error 53 has occurred. The network path was not found." but only on a certain Win10 machine, others work fine

I have a SMB "samba" share setup on my RPie3. All my other machines can connect to it fine, but my primary Win10 machine cannot. I have ruled out DNS, and also SMB verion (SMB2 is in use) so I'm stumped. Update: This is just a retro gaming system.…
3
votes
1 answer

How to upload a folder (recursively) with smbclient?

For the life of me, I can't get the smbclient command to actually transfer any folders. Since I can't find any documentation anywhere else (the MAN page is not helpful at all), I've been trying to figure this out with more Googling than I can feel…
2
votes
0 answers

'mkdir --parents' on smbclient?

I have a folder tree in my linux /home looking like this: folder/ folder/folder1/ folder/folder1/file1.csv folder/folder1/file2.csv folder/folder2/ folder/folder2/file3.csv folder/folder3/file4.csv I am now looping over each csv file and want to…
1
vote
1 answer

How can I keep copying after a "NT_STATUS_SHARING_VIOLATION" error with smbclient?

I have a directory of files that need to be copied every night as a backup. I am using 'smbclient' to backup the files to a Linux machine but I am seeing an issue where if a file is locked the entire copy process will abort with a…
Atari911
  • 768
  • 5
  • 11
1
vote
1 answer

Linux to Windows - smbclient works fine but mount.cifs does not

I am using a Ubuntu 22.04 guest in Hyper-V in Windows 11. I have created a file share and shared it for a local user ("shareuser"). I am trying to automatically mount it with cifs and corresponding changes in /etc/fstab but am totally unable to.…
1
vote
0 answers

FRITZ!Box Samba share works using smbclient but not CIFS

I am trying to mount a disk attached to my FRITZ!box router NAS on my Manjaro Linux. FRITZ!box OS only supports SMBv1.0 at the moment, so I need to force the old protocol. The following commandline works: $ smbclient -L…
1
vote
0 answers

smbclient stopped working, returns NT_STATUS_BAD_NETWORK_NAME

No config changes on the VM or host occurred; results from Google and SE didn't solve issue I have been using a script to backup some stuff from a Debian VM onto a Windows 7 host (the Debian VM sits on the same Windows 7 host) that worked fine…
1
vote
1 answer

How to fix Windows 10 incoming SMB session being RST'ed

I have computer A and B, both Windows 10 1703 (15063) with all updates installed up to now. I want to view A's SMB shares from B, but B says it cannot connect to A. Further investigation shows A is RSTing B's TCP connections to port 445. Have…
Jamesits
  • 141
1
vote
0 answers

Can't see/mount SMB (SAMBA 4) shares through terminal in Debian Jessie

I would like to mount a SAMBA share on my computer, where I'm running Debian 8 (Jessie). The SMB share is located at the server of my institute and works as a domain controller (it's a SAMBA 4). All machines are located inside the private network of…
1
vote
1 answer

SMBclient put file does not exist

I am trying to write a cron script which will copy a file from an SMB share to my local linux folder. I am connecting to the share like this... /usr/bin/smbclient \\\\myserver\\myshare It connects correctly and if I issue dir I can see the file I…
0
votes
0 answers

How to use smb4k with non-standard port

How to use smb4k with non-standard port?. I have tried to connect to a share that uses smb port 4445 (instead of 445) and I have not been able to connect with smb4k What is the configuration for the assembly? PD: Commands that I have used in…
acgbox
  • 844
0
votes
1 answer

NT_STATUS_BAD_NETWORK_NAME when connecting to router samba share

I have a asus router that I am using to host a samba share networked hard drive. I've been able to connect to this shared disk from both my windows machine and my macbook, so I know the drive "works" in the strictest sense. However I am unable to…
0
votes
1 answer

Unable to connect to a directory directly in samba drive location - NT_STATUS_BAD_NETWORK_NAME

When i try to connect to the location directly using the smbclient I get "NT_STATUS_BAD_NETWORK_NAME". naveenp@LTIN123456:~$ smbclient //sambahost/folder1/folder2/folder3 -U username@sambahost -m SMB2 Password for [username@sambahost]: tree connect…
Naveen
  • 103
0
votes
2 answers

Persistent Indexing for Files and Folders in Network Drive WIndows Explorer Properties

I can acces my SSD via my NAS via SMB just fine. Windows properties pane shows a checkbox near Indexed files/folders. No matter how many times I disable Indexing for this particular network drive, after clicking apply and after all files have been…
Sam
  • 322
0
votes
1 answer

Windows 11 cannot access router's USB storage

I have two Asus routers, one in router mode (192.168.0.1), the other in AP mode (192.168.0.2). Both have external HDDs connected through USB & shared through SMB. On my Win10 machine I can access both shares. On my Win11 machine I cannot access the…
ctekse
  • 101
1
2 3