Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [smbclient]

The tag has no usage guidance.

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

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 ...
kaidentity's user avatar
0 votes
1 answer
360 views

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 "...
Andy McCall's user avatar
0 votes
1 answer
1k views

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@...
Naveen's user avatar
  • 103
0 votes
2 answers
1k views

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, ...
Sam's user avatar
  • 312
0 votes
1 answer
3k views

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 ...
ctekse's user avatar
  • 101
0 votes
1 answer
412 views

How domain joined Linux clients send Security Events to the AD (KDC)

Have been trying to solve an issue for two weeks with no success. So I will break it into smaller questions in hope to understand the process and find a solution. We have a Windows AD domain with some ...
shafuq's user avatar
  • 103
0 votes
0 answers
1k views

SMB connection speed over VPN

I'm seeking for some advices on how to improve connection speed while using SMB shares over VPN. I have two Win10 PCs with following setup. PC1 - 500Mb/s DL and 350 MB/s UL per SpeedTest PC2 - 100Mb/s ...
Johnny_D's user avatar
  • 143
0 votes
2 answers
3k views

Script to reconnect Windows 10 to network share

A persistent and unremedied failure of Windows networking is its inability to reflect mounted shares as they come online. The two machines can ping one another indefinitely and still, the red X next ...
ebsf's user avatar
  • 155
0 votes
0 answers
1k views

smbclient sees file but cant find it

I have been using smbclient to grab files from a windows file system to an ubuntu based computer. It was working up until a few weeks ago. From ubuntu I do: smbclient -A ./credentialsFile //IP/path/to/...
user1402154's user avatar
2 votes
0 answers
1k views

'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 ...
gehbiszumeis's user avatar
1 vote
0 answers
395 views

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

SMB Unable Resolve Host

I have issue with this one particular Windows 10 client unable to connect to any SMB share. Environment: Server: Windows Server 2019 Client: Windows 10 Pro Workstation 20H2 Internal LAN No domain ...
David Wu's user avatar
0 votes
1 answer
2k views

Sending messages from Linux machine to Windows one fails

I need to be able to send messages from Linux machine (Lubuntu 20.04) to machine running Windows 10. They are on the same LAN. I tried the following command: smbclient -M \SN-3-HRW\ "qwe" ...
S. N.'s user avatar
  • 135
0 votes
0 answers
202 views

how can i specific data offset option in smbclient command?

How can i set data offset value in smbclient get command? I have a scenario where i need to download file from where it fails. Here is the command i am using as of now: smbclient -U 'username' -c 'get ...
Azam Ahmed's user avatar
0 votes
0 answers
158 views

Exclude files above certain size from download with smbclient

I'm trying to download all files smaller than a certain size (a few megabytes) with smbclient. I have seen that it is possible to use the command mask from within smbclient to download files of a ...
Rubus's user avatar
  • 111
1 vote
0 answers
2k views

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

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 ...
KidACrimson's user avatar
0 votes
1 answer
476 views

What is wrong with my smbclient

Scenario Today I set up an smb share on my Linux desktop machine connected to my router via cable 1GBit/s. I tested the LAN speed between my Notebook(Manjaro, 5GHz) and desktop using iperf. Result is ...
schgab's user avatar
  • 105
-2 votes
1 answer
3k views

Samba Client and Windows 10 Home - "NT_STATUS_LOGON_FAILURE"/"Access denied"

I'm trying to access a file share from a Windows 10 Home using a Samba client. However the following errors happen ... 1# - smbclient [root@eduardo-nb eduardo]# smbclient -L 192.168.0.5 -W WORKGROUP ...
Eduardo Lucio's user avatar
0 votes
2 answers
79 views

Samba+LDAP - Diagnosing Problems (Access Denied)

I really need some help because I can't identify what's going on... I'm pretty lost here... =| PROBLEM: I have a server "server_a" with a directory "group_a_folder" ("/srv/...
Eduardo Lucio's user avatar
0 votes
1 answer
2k views

CENTOS 7/Win10 unable to access SMB share from windows/mac

I am able to access my SMB on the linux box itself with smbclient with smbclient -U user //server/winbkup or mounting with the file explore GUI. my windows computer is on WORKGROUP, and on linux ...
JohnDoe's user avatar
  • 13
0 votes
0 answers
927 views

Gain write access on multiuser SMB share with credentials of different user via cifscreds

I have a SMB share with 2 users (which are identical on both server and client): 1 is in the write list, 1 can only read. The share is mounted as multiuser with the credentials of the write-user. I'm ...
chrisl's user avatar
  • 101
1 vote
1 answer
3k views

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 ...
Jamesits's user avatar
  • 141
0 votes
1 answer
6k views

smbclient every time force to enter username and password which doesnt have any authentication(i.e public) on Linux

I am using smbclient to browse though the shared network which doesnt have any username and password. smbclient //Server/share -U username password\ //Good This is good when a server is protected ...
leuage's user avatar
  • 119
1 vote
0 answers
807 views

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 ...
Paco el Cuqui's user avatar
0 votes
1 answer
1k views

Grep all files from samba

I'm transferring some files using samba. I use this command smbclient '//MICROSOF-14656A/Shared' -c 'lcd /mnt/transfer/;cd Directory; get file.txt' But I get tired to move one file by one. There is ...
Man's user avatar
  • 11
1 vote
1 answer
2k views

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 ...
fightstarr20's user avatar
0 votes
1 answer
4k views

Windows 10 Powershell - get-smbserverconfiguration - returns this even though I'm not connected to any servers

I am running a new (not upgrade) installation of Windows 10 Home on a desktop at home. This is my personal computer on an AT&T U-Verse connection that I pay for. When I execute the Powershell ...
user552798's user avatar
3 votes
1 answer
17k views

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 ...
Blake Johnson's user avatar
1 vote
1 answer
2k views

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 ...
Atari911's user avatar
  • 768