Questions tagged [samba]
samba is an re-implementation of the smb network sharing protocols, which are used in Windows for file and printer sharing.
1,400
questions
0
votes
1
answer
11
views
Files in SMB share read-only after reconnect
I use a remote file storage with SMBv3 access (Strato HiDrive). On Windows 10, I have this SMB share included as a network drive. When I open a file (e.g. in Excel), I can edit and save it just fine.
...
0
votes
0
answers
16
views
Samba share doesn't mount during boot
I have samba share and want it to be automounted, so i add this to my /etc/fstab:
//mydomain.example.com/CommonFS /mnt/myFolder/ cifs username=samba,password=password,iocharset=utf8,file_mode=0777,...
1
vote
0
answers
17
views
OverlayFS hangs when an underlying CIFS lowerdir has network issues
I have an example setup:
overlay /data/all overlay noauto,x-systemd.automount,lowerdir=/data/local:/data/remote 0 0
//myhomeserver/data /data/remote cifs iocharset=utf8,ro,credentials=/data/remote....
0
votes
0
answers
19
views
HP Proliant Microserver N40L Ethernet Throttling
I’ve recently set up a HP Proliant Microserver with Ubuntu 22.04 Spideroak One and Samba for my home server.
The Ethernet adapter supports up to a Gbps which works fine for my internet and transfer ...
0
votes
1
answer
24
views
Adding an Ubuntu 20.04 machine to Windows Credentials? [duplicate]
a few days ago I had a Samba server up and running on my Ubuntu 20.04 machine so that I can access its external drive from my Windows 10 desktop in the file explorer.
However, I accidentally removed ...
0
votes
1
answer
54
views
Network share folder from Ubuntu 20.04 no longer appears in Windows 10 file explorer
So a few days ago I successfully set up Samba on my Ubuntu 20.04 laptop and was able to access my shared network folder from my Windows 10 desktop in file explorer.
However, at one point I had to ...
0
votes
1
answer
27
views
On-the-fly SMB shares conf to quickly share files
I want to use samba to quickly and easily share files on occasions. I set up a smbuser to which I forbid login with
chsh -s /bin/false smbuser
I give the smbuser's password to people and I have my ...
-1
votes
1
answer
74
views
Samba share not appearing on smart TV
I reinstalled my Gentoo installation and after that I tried to get the Samba server to show on a smart TV, as it did before I reinstalled, but even though I had the old configuration file, it didn't ...
1
vote
0
answers
34
views
I need help doing a bash shell script to index .inf files by hardware ID
I'm working on a new system to automate drivers installation in Windows 10/11. Some time ago, I downloaded a drivers collection from driverpack (the drivers collection is fine, but the software to ...
0
votes
1
answer
32
views
Connecting to SMB without adding a second user on windows 10
I have created SMB share on my windows 10 PC. Now I want to connect to that network from my android mobile phone. Both my devices are connected to a router. The problem is I can't use my admin ...
0
votes
0
answers
81
views
Can linux samba server (smbd) provide to (Windows) clients if a file is symlink (or hardlink or btrfs reflink)?
I have a NAS with Debian. Disk in NAS is btrfs. Service which serves files is samba server (smbd).
I have a Windows client with an external NTFS disk.
I want to synchronize NAS disk with external disk ...
0
votes
1
answer
435
views
Can't access samba share as another user from same machine
I am running a home server with Ubuntu 22.04. There are two users on the device A,B
The directories I want to share are
/home/A/Pool/ShareA
/home/A/Pool/ShareB
Now, when I access the share from a ...
0
votes
2
answers
119
views
How do I mount NETGEAR ReadyShare network folder in a Debian 11 LXC hosted within Proxmox VE?
My router has some network attached storage capabilities and it shares the files via a UNC path (I assume this is a SAMBA share). The UNC path defined by the router is //routershare/media/
I'm able to ...
0
votes
1
answer
635
views
Ubuntu 22.04 File sharing (write permissions issue) with Windows 10/11
I have been struggling with getting a shared Samba share in Linux to be writable from Windows 10/11. I have found several questions on this but can't find a solution. I can see and list the samba ...
0
votes
1
answer
190
views
Intermittent SMB connection failure from Windows 11 to macOS Monterey/Ventura
I have a LAN with a TP-Link router (AXE5400, 3 months old), a Mac Mini as SMB/CIFS file-server (2020, macOS Ventura 13.2.1), and Windows 11 Laptop and a Macbook Pro laptop (c. 2020/2022). The file-...
0
votes
0
answers
128
views
Inside docker: openssl can connect, ldapsearch and ldap in PHP cannot
I'm trying to migrate a self written php application that needs to connect to our samba4-AD via ldap to docker. While it worked outside, inside of the container the app cannot connect to the ldap ...
1
vote
1
answer
178
views
Samba "access based share enum" hides all shares from browsing
My basic smb.conf:
[global]
workgroup = SAMBA
security = user
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
...
0
votes
0
answers
163
views
Allow access to only one group with NFS4 ACL on TrueNAS Scale
I recently switch from TrueNAS Core to Scale, and I'm having issues when it comes to ACL configuration on my datasets. I have a few shares that I'd like to make accessible by a specific group only. I ...
0
votes
0
answers
24
views
Setting the right permissions to a shared directory
I have a directory /home/localuser/share. The localuser owns and has full control over it. But it must be accessed through a samba share, as read only by user "nobody" (no password required)....
0
votes
0
answers
42
views
Samba does not start correctly
I have an older router with OpenWRT operating system. I have a connection configured via OpenVPN and file sharing via Samba. However, after restarting the router, Samba won't start properly because I ...
0
votes
1
answer
122
views
server share mount error in WSL2 error13
my /etc/fstab is as:
//server-ip/path/share/ /mnt/d/wsl2/local/path cifs domain=my.domain.com,username="abc",password="123",rw,uid=1000,gid=1000 1 0
which works fine in a remote ...
0
votes
0
answers
29
views
Windows Defender deletes files of my Ubuntu Server
I have two ubuntu servers i use as storage servers set up with samba files share. I connect to them through my main machine running windows 10 and some files on the server get flagged and instantly ...
1
vote
0
answers
208
views
Windows 10 SMB cannot connect to shares on my Synology NAS anymore
For years I have a Synology NAS running in my network for various uses and it is accessed by multiple devices. Recently, a package on the NAS was causing a slow performance, with the interface loading ...
0
votes
0
answers
140
views
Error 0x8007003B on SMB Shares when "Guests allowed" set
When I enable the option "Guests allowed" for any SMB/CIFS share on my OMV 6.1.3-1 server, Windows 10 and 11 report error 0x8007003B "Unexpected Network Error", when copying file ...
1
vote
1
answer
823
views
Allow public access to Samba share without allowing insecure guest access in Windows
A few years ago, due to security concerns, Microsoft disabled by default the ability to connect as a guest to SMB shares.
In my organization, I have a few shares which I want to be available for ...
0
votes
1
answer
883
views
Cannot access samba share from one PC but from others, even after reinstalling the PC
I have a samba share running on a raspberry pi 4. I can access it from one Desktop-PC (Win10) and one laptop (Win11). But I cannot access it from my ASUS VivoBook S (Win10) for some reason. All I get ...
0
votes
0
answers
167
views
Why do I have low read speed on my Samba server?
I have the following setup:
4x WD HDDs (1x WD Blue 1TB (with an old Seagate interface) & 3x Elements 2TB), All SMR.
connected to a TP-Link UH700 USB hub
connected to a Raspberry Pi 4 with Samba ...
0
votes
1
answer
170
views
Write to the samba docker container from iOS/Mac fails with attribute not found
I use a dperson/samba container and when I try to write to the samba server from iOS/Mac it doesn't let me and tells me that it hasn't found the attribute but on Windows it lets me write
samba:
...
0
votes
1
answer
518
views
Samba server on Red Hat - "client signing = mandatory" bug
My Samba version is 4.10.16 and I've got a problem with setting client signing variable to mandatory. It is properly set in /etc/samba/smb.conf, but testparm show client signing = required.
My RH ...
1
vote
0
answers
339
views
Binding Samba to Tailscale interface fails, but works for physical NIC
I installed Tailscale client v1.34.0 and Samba v4.15.9 on Ubuntu 22.04.1 with the
intention to improve security for a Samba share by limiting access to my tailnet. To that effect, I configured Samba ...
0
votes
1
answer
450
views
How can I allow access to a samba share on Windows 10 Pro coming from a different VLAN?
Here is my configuration:
Windows 10 Pro on 192.168.21.19 with a folder shared
Brother printer on 192.168.55.34
pfSense with FW rule that allows 192.168.55.34 to access any port/protocol on 192.168....
0
votes
1
answer
154
views
Prompt for password when using smbnetfs
I'm using Ubuntu Focal and I'd like to mount some samba shares.
If I use mount -t cifs and don't provide a password, then it's going to prompt me to input one. However mount can be only used as a root ...
0
votes
1
answer
65
views
Error message when trying to rename directory on NAS share with Windows Explorer
Using SSH from my Windows 10 Notebook I copied the folder SichTmp02122022_Profiles to the directory schr (both residing on the same Share of my NAS, a My Cloud EX2 Ultra) according to:
cp --no-...
0
votes
1
answer
771
views
SMB address handling in web browsers: file:///// or file://?
When a SMB share path is \\server\dir, if I type that in FireFox, FireFox shows the directory's content and the address showing is file://///server/dir. If I do that with Edge, it also shows the ...
0
votes
1
answer
694
views
Cannot connect to SAMBA shared printer from windows computer
I have quite old printer Samsung ML1660 connected with USB to PC with Ubuntu 20.04. Printer is then shared to network. I can see printer from all 3 Windows laptops (WIN10 home, WIN10 pro, WIN11 pro)
...
0
votes
1
answer
198
views
Robocopy over SMB from Windows 11 to MacOS Catalina Locks folders and makes backup fail
I am trying to backup an external hard drive on my Windows machine to an external hard drive on my iMac running macOS Catalina. I am using Robocopy batch file to mirror the 2 drives. The code I am ...
0
votes
0
answers
312
views
How can I implement quotas in samba?
I want to create smb shares that are limited by a given quota size also I want to be able to modify the quota size in the future. While searching for a solution I came across the setquota command but ...
0
votes
0
answers
93
views
How to implement the quota size which can be modified later in samba?
I want to give quotas for individual shares, such that I can also modify the quota size in future. I tried doing this using this https://superuser.com/a/976714 answer. Problem is file modified using ...
0
votes
0
answers
138
views
QNAP SMB changed how I authenticate
Can anyone explain to me why after a power outage I now need to authenticate an SMB share to my Qnap NAS as DEVICENAME\USERNAME as compared to just username?
I have two SMB shares on it and one only ...
0
votes
1
answer
176
views
How do I interpret the results returned by getcifsacl?
I'm reviewing permissions on a local directory provided by a remote Samba server. The server itself is Linux (Ubuntu 16.04). The local machine is Centos 7. When I run getcifsacl I get the data, for ...
0
votes
1
answer
107
views
Why filename with weird chars can be created but not accessed via CIFS?
I have a filesystem with some old files, which were probably copied there with some windows encoding in filenames (and not UTF8). When I try to backup them to samba share (Hetzner Storage Box) via ...
1
vote
1
answer
312
views
I can't map a network share from PXE - WinPE
I have been working these days in deploying a iPXE server. I have made entries to several Linux distributions with no problem. Then, I started to add entries for Windows ISOs for Windows Installation ...
0
votes
0
answers
97
views
Adding user and new machine to Samba server running Rocky Linux
I'm trying to add a brand new machine onto our network and I'm currently struggling at the moment. A little preface...my network administrator retired a few months ago and my company has no intention ...
0
votes
0
answers
507
views
Nextcloud vs FTP/Samba on local network
I'm using a raspberry pi with attached HDD and Nextcloud installed as a local network storage now.
I'm also using Open-VPN to access local Nextcloud files from outside sometimes.
I have problems with ...
1
vote
1
answer
157
views
How to require Windows logon to Samba share (on Ubuntu server) every time or with short timeout?
I'm setting my kids up with accounts on my home server to be able to access some stuff that's there. There's two shared computers (Win 7 and Win 10) they all have access to, and I'd like them to have ...
0
votes
0
answers
300
views
CIFS Mount I/O Error After Large File Transfer
I have a windows network drive I access on a linux server that I mount through a mount cifs entry in /etc/fstab. I run a nightly backup of user file directories to the network drive from the linux ...
0
votes
2
answers
507
views
Not all Linux SMB shares are accessible from Windows
I have two problems with accessing SMB shares from Windows (Windows Server 2022).
On my Linux server (EuroLinux RHEL) I installed an SMB server and got it working.
At first I had only one share (\...
0
votes
0
answers
35
views
Samba share recycle touch_mtime not working
I have a samba share on my Server like:
[myshare]
force group = groupname
path = /mnt/md0/myshare
vfs objects = recycle
recycle:versions = Yes
recycle:...
0
votes
1
answer
1k
views
Can't connect to Samba (SMB) server Debian 11 XFCE
Can't connect to Samba server with Debian 11 and XFCE.
Scenario: Samba server has been setup on Truenas box.
Cannot connect to it using the path/url entry box in Thunar (file mananger.)
See this video ...
0
votes
0
answers
25
views
Writes not allowed to Samba share when "read list" is set
So I want a Samba share where some people can read/write, and some people have read only permissions.
Example I'm trying:
[photos]
comment = Photos
public = no
writeable = yes
...