Questions tagged [samba]

samba is an re-implementation of the smb network sharing protocols, which are used in Windows for file and printer sharing.

Filter by
Sorted by
Tagged with
1 vote
0 answers
43 views

Network HDD Spins-up on PC Startup

I have a Asus router connected to and external HDD that I use as a Network drive (using built-in SMB, samba). I have the network location mapped to my windows PC. Currently, when I start up my pc, ...
Kayracer's user avatar
6 votes
1 answer
13k views

List SMB network shares and usernames they're authenticated under from command prompt

As noted in list network shares from command prompt, in Command Prompt (cmd.exe), I can use the following command to list available network shares: net view \\computer In my case, this gives ...
sdbbs's user avatar
  • 1,352
2 votes
1 answer
8k views

Debian: samba mount fail "mount error(115): Operation now in progress"

I have a sinalogy diskstation I try to mount a share in debian Throw error (problem is same if vers=1.0, and without vers) $ mount -t cifs -o username=m.somogyi,vers=2.0 //192.168.0.200/Kozos /mnt/...
Marton's user avatar
  • 63
1 vote
1 answer
5k views

File permissions for mounted Samba share (from raspberry pi) on ubuntu server

I am struggling with file permissions on a mounted NAS on my ubuntu server (20.04 LTS). The NAS drive is mounted using cifs and /etc/fstab: sudo nano /etc/fstab: //PiNAS/PiNASdrive /media/PiNAS cifs ...
JSdJ's user avatar
  • 43
0 votes
0 answers
30 views

How to improve remote backup

I need to backup a large file (>20GB) onto a shared folder through a wired LAN. I have used ROBOCOPY with no buffer (/J) and multithreaded (/MT:64). Nevertheless task manager measures no more than ...
Dario Corrada's user avatar
-1 votes
2 answers
5k views

Windows 10 can't map network drive of Linux samba server

Samba server version is Samba version 4.11.6-Ubuntu. Windows client version is 20H2 build 19042.1052 Not sure what happened with the connection as it has worked before. Now I've tried everything and ...
sisyphus_coder'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
0 votes
0 answers
1k views

slow data tranfer speed between Linux Machine and SMB shared folder on synology NAS

I have Synology NAS connected to my LAN. The Router, NAS and cables are Gigabit speed capable. I have also checked line speed using ethtool eth0 see details below Settings for eth0: Supported ...
Khurram Majeed's user avatar
2 votes
1 answer
2k views

Windows 10 - Cannot connect to SMB shares

Within my home network, the network drives [SMB shares] set up on a Surface 4 Pro [Windows 10 Home v2004, b19041.985], connected via ethernet, suddenly stopped working, and since the same are readily ...
hihp's user avatar
  • 31
0 votes
1 answer
420 views

What does rename() do when trying to move a file between directories on a samba mount?

The share is mounted with sudo mount -t cifs -o username=[username] //[ip_address]/[share] /mnt/[share]/ I am accessing rename() via Node: fs.renameSync('/mnt/[share]/file', '/mnt/[share]/folder/file')...
henderson's user avatar
0 votes
1 answer
24 views

Directory does not exist when initializing Windows 10 host from Linux machine

I am trying to initialize a program on my Linux machine using a file from my Windows 10 machine. I am using a samba server that is up and running. The command program init -c \\192.168.0.10\Users\user\...
sooosoooos's user avatar
1 vote
0 answers
382 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
2 votes
1 answer
22k views

rsync: --dry-run? The wrong option to use?

My Initial Question: What does the --dry-run option of the rsync command do? On the network where I am currently working, it seems to produce a very long list of files, which isn't very useful. Here's ...
user3728501's user avatar
  • 2,774
0 votes
1 answer
244 views

Using Samba to bring files from Ubuntu Mate to Macintosh but some text files are turned into executables

I'm not sure if this is the best Stack Exchange to use, but the question concerns Mac, Linux and Samba. I have a new-to-me Apple Macintosh laptop (MacOS 10.15.7 (Catalina)) and I am have set up Samba (...
reallydismayed's user avatar
0 votes
2 answers
2k views

Writable samba share ends up read only

I have problems setting up a docker samba server (dperspon/samba) on my server (Pi4). The writable samba share appears to be read only. However the behavior is weird. When I put a file into the share ...
ManuelSchneid3r's user avatar
0 votes
0 answers
389 views

Proxmox can't backup to CIFS mount hosted on a QNAP NAS

I just added a CIFS mount to my little proxmox cluster. I was using it for backups when I only had one node and it worked. But now that I have mounted it at a cluster level I am not able to backup to ...
Danielo515's user avatar
0 votes
1 answer
580 views

Why am I getting Unspecified error 80004005 when copying from a Samba share to a Windows computer?

I'm copying a large directory structure from a web server to Windows. This is not for the common reason that I need to install SMB 1.0/CIFS like so: It appears this is a common error message with ...
Jacob Bruinsma's user avatar
2 votes
1 answer
668 views

Explorer in Windows 10 hanging on Azure Files SMB operations

At home, I have a fully up-to-date Windows 10 Pro desktop. I have also created an Azure Files SMB share in the cloud. I am able to connect to the cloud drive from the desktop without issue, and read ...
EugeneRomero's user avatar
0 votes
1 answer
2k views

permanently mount Samba version 4 share on linux

I want to permanently mount a Samba share on a newly set-up Linux Mint 20.1 system. I'm running Samba version 4.10 on FreeNAS 11.3. I can mount in the current session by running in the terminal (from ...
Joooeey's user avatar
  • 123
3 votes
1 answer
12k views

Thunar cannot browse network

I've already figured out the answer, but decided to post this as a Q+A here because this bothered me for ages and it took a long time to find the solution. Hoping this will be of use to others (or ...
user3728501's user avatar
  • 2,774
0 votes
1 answer
2k views

Why the Samba shares on Debian became inaccessible after Windows 10 update to 20H2?

I have updated the Windows 10 to version 20H2 and after that all my Samba shares on the Debian are became inaccessible. The ping from Windows 10 to Debian is successful. But when I trying in the ...
Jackdaw's user avatar
  • 1,232
0 votes
0 answers
89 views

win 10 conflict between NTFS mapped drive and samba (1.0) mapped drive

i have a win 10 with 2 mapped drives. one is mapped to another win 10 share drive, and the other to a samba share on Ubuntu server. This setup has worked well for the past 5 years plus. Last week, i ...
Fawzi Masri's user avatar
0 votes
0 answers
141 views

Windows 7 - delay with offline network drives

I have a desktop running Win 7 Pro 64. I have an NAS server (Debian 10) with HDDs shared via Samba. Everything works as expected when the NAS server is on but if it is offline then I get lots of ...
AmateurProgrmmer's user avatar
1 vote
0 answers
261 views

Cannot access samba server in "parent" subnet

I have been searching for a solution to my problem for the past 2 days and I just cannot find anything related :( My network setup is the following: Now my goal is to be able to access the fileserver ...
Daniel's user avatar
  • 11
0 votes
1 answer
678 views

Windows not able to join local Samba Domain Controller when domain name contains public domain

I'm trying to set up a local samba domain controller in a mixed environment (Ubuntu, Linux, OSX). Domain provisioning worked as per the samba wiki, all the suggested tests succeed, joining Linux hosts ...
Ben Schäffner's user avatar
0 votes
1 answer
844 views

Is there a way to share an APFS partition on Linux?

I want to share over the network a partition formatted as APFS using my laptop with Ubuntu 20. I was wondering if there is a way to share the partition "raw" so I can connect to it from my ...
Raisen's user avatar
  • 113
6 votes
1 answer
15k views

What is the real danger of allowing SMB 1 client to access files on legacy device (which is not SMB 2 capable) on the local network?

I have an old device which is not SMB 2 capable. Much has been written about danger of using SMB1 (eg. https://techcommunity.microsoft.com/t5/storage-at-microsoft/stop-using-smb1/ba-p/425858). I would ...
sevec's user avatar
  • 61
1 vote
1 answer
354 views

Windows 10, unable to access network samba share by name, able to access by IP address

In the recent times I noticed that after I reboot my Windows 10 Dell laptop, I am unable to access one of my Network shares by name, e.g.: \\my_server. It just returns error that network path is not ...
Marek Karcz's user avatar
1 vote
1 answer
4k views

ubuntu samba gio mount issue: volume doesn't implement mount

I have a fresh install of ubuntu 20.04 where I also installed xubuntu-desktop. In thunar I can access my samba share by typing smb:/// in the address bar. After which it prompts me for my credentials. ...
jpvlerbe's user avatar
0 votes
0 answers
3k views

CIFS VFS: cifs_mount failed w/return code = -22

I currently face an issue that I wasn't able to connect to a Windows Share. Following my used command, fstab doesn't helped either, it will get the same error. The kernel log isn't useful @ all. The ...
Lars Goebels's user avatar
1 vote
1 answer
5k views

Samba4 Domain and Active Directory compatibility?

I'm running a testing AD lab at home which has a AD forest with single domain. The functional level is 2016. I'm trying to move to Samba4 domain controllers for licensing issues and also testing new ...
Yuuta Liang's user avatar
0 votes
0 answers
1k views

Samba shares are accessible only for a specific user set by chown

I've stumbled upon a peculiar issue regarding samba share. It only works when ownership is given to the samba user (shared) by running chown -R shared:sambasecure /mnt/Backup. I'm running CentOS 8, ...
Roman's user avatar
  • 1
1 vote
0 answers
2k views

Connect to Windows shared folder in Ubuntu

I have recently installed Ubuntu 20.04. Moreover, I have a share folder in windows of another computer. I have to access the share folder in Ubuntu. Therefore, I installed samba client using this ...
M_Gh's user avatar
  • 111
0 votes
0 answers
170 views

Windows 10 Edu SMB Share not available

I have created a SMB share on a small debian server. I can connect to it via a notebook(with debian), a notebook (with Win10 Pro) and i also tested it with a app on my smartphone. Everything works ...
dirtrunner's user avatar
0 votes
0 answers
244 views

Windows 10 DNS record with NT4 domain

I'm having a problem introducing Windows 10 machines to my Samba NT4 domain. I know that Microsoft actively "encourages" people to move to AD, but for various reasons, I'm stuck with NT4 for ...
lwt's user avatar
  • 23
1 vote
1 answer
212 views

Connecting openVPN windows 7 clients to the server

Apologies for the wording of the question - it was done in a rush, here with the altered wording: I have an openVPN server running on Ubuntu 18.04 which has samba running. I have no problems ...
Jeremy's user avatar
  • 11
0 votes
0 answers
92 views

CD Into Mounted Windows Share from Bash

I am using Pop_OS (very new to Linux) and trying to access a shared network drive hosted on a Windows machine. I have mounted the drive and when I right-click on it and "open in terminal" I ...
Matt's user avatar
  • 101
0 votes
1 answer
241 views

SMB user not authenticated on a specific workstation. How find and fix?

I have a server (Synology RS-820+ with DSM 6.2.3 OS and File Station application) in the cloud. SMB is active, no WINS specified, SMB min = SMB2, SMB max = SMB3. Few Windows 10 workstations share the ...
Francis Gernet's user avatar
0 votes
1 answer
5k views

Slow Samba speed on Linux, just around just 10 MiB/sec

I recently set up a Raspberry Pi NAS. It has a USB 3.0 connection to a hard drive with a Raspberry Pi 4. The problem is that when I copy files with Samba I only get around 10 MiB/sec. I know the ...
Gabor Szita's user avatar
0 votes
0 answers
1k views

Can't log into Linux Samba share from Windows

Whenever I go to my network shares on windows, I am prompted with a request for username and password on the folder I want to access. Most of the time it won't let me log in with the username and ...
viduwoy's user avatar
0 votes
0 answers
44 views

Why does Windows 10 local upload to NAS slows and goes back to normal with a mouse movement?

I have a NAS server, D-Link DNS-323, it was out of sync, saved all the data, reset the device back to RAID-1, and started copy back the files with a Windows 10 with the Samba protocol on the NAS. The ...
kelalaka's user avatar
  • 447
0 votes
0 answers
3k views

smbclient error NT_STATUS_CONNECTION_REFUSED

steps to reproduce: (host) sudo ufw disable (host) sudo smbclient -L localhost (client) sudo smbclient -L myhost.ip: do_connect: Connection to myhost.ip failed (Error NT_STATUS_CONNECTION_REFUSED)-...
mkk's user avatar
  • 103
8 votes
2 answers
32k views

How to change SMB user in windows 10?

I just changed my username account in my laptop, But when I tried to connect my smb client on my another device, I had to login using my old username. How to change login username?
Zozzizzez's user avatar
  • 183
1 vote
1 answer
2k views

Dependency Error Installing Samba on Debian Buster

When I try to install samba on Debian buster like this: sudo apt install samba I get this output: Reading package lists... Done Building dependency tree Reading state information... Done The ...
Mark Olbert's user avatar
0 votes
1 answer
428 views

Why the smb share is still available after I turned off my laptop smb service?

I have turned off my smb share in windows 10 by going to control panel -> Programs -> Turn Windows features on or off -> untick all smb service : But when I access the smb server from my ...
Zozzizzez's user avatar
  • 183
0 votes
1 answer
420 views

Connecting to local fileserver on Fedora 32 fails in Thunar

I'm setting up a new install of Fedora 32 and I'm trying to get Samba running so I can access my local file server, which I've had no problems with on my previous ubuntu install. I've gone through a ...
Joel Graff's user avatar
7 votes
1 answer
5k views

Meaning of D, H, R, A in smbclient file listings

I connect to a Samba drive in terminal (Linux) via smbclient. When I list the directory via command ls, I get for every entry (file or folder) some letters: such as D, H, R, S, A in different ...
loved.by.Jesus's user avatar
1 vote
1 answer
2k views

Windows 10: Getting the SMB version in use for a specific remote host?

I have set up a SAMBA server on Ubuntu. I set the minimum protocol to SMB2, maximum to SMB3. Now, I can connect to the shared path from Windows, and I want to know which protocol (SMB2 or SMB3) Window ...
Damn Vegetables's user avatar
2 votes
0 answers
353 views

Samba CIFS mount only works after SSH connection to samba server

CIFS mount of my remote samba share for some reason unmounts from client in the middle of nowhere and doesn't mount back (log below) until I do an SSH connection from client to server, which, for some ...
netmvze's user avatar
  • 21
2 votes
1 answer
4k views

clearing SMB credentials on Windows 10

I have tried net use * /DEL to no avail, says cannot find anything, tried net use \\server /del to no avail, and the credentials don't show up on the credential manager either. This PC has read ...
dbx10's user avatar
  • 21

1
3 4
5
6 7
30