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,464
questions
0
votes
0
answers
111
views
How to delegate permissions in Samba using command line?
Is it some how possible to delegate password resetting permissions in Samba using the command line (for example using samba-tools)?
I want to automate the process and don't want to use the GUI wizard ...
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@...
0
votes
0
answers
2k
views
Execute a Batch and Powershell Script on a Remote File Server
I'm telling you that I'm trying to figure out how to run a PowerShell script without having it stored on the computer. simply running it with some jse script and let the script know where the file is ...
1
vote
0
answers
59
views
Custom RPC Kerberos authentication working on Samba but dont Windows
I have implemented an RPC client in C# which uses GSS/SPNEGO authentication. I am trying to connect to the standard/Active Directory services (DRSAPI, SAMR etc...) on the server. The authentication ...
0
votes
1
answer
352
views
Connecting Windows 10 to Linux Mint 21.2 over ethernet cable to use samba shares
I'm trying to set up a small home NAS with Linux Mint 21.2 to access samba shares from Windows 10 laptops using a direct cable connection. I've assigned IP 10.10.91.5 to the laptop ethernet card, and ...
2
votes
1
answer
3k
views
Events 8038 and 8020. The system failed to update DNS (error 9701)
When a pc boots it is unable to update it's DNS record. However, it works fine if you run IPCONFIG /RENEW, or IPCONFIG /REGISTERDNS or just leave it for a day.
Setup:
Client
Clean Windows 10 install
...
0
votes
0
answers
317
views
Connecting to a smb share on a Mac on a network with a static ip
My client has a router that uses a static IP address and has 2 Macs attached to it, one running MacOS 10.13.x and is used as a Filemaker server, and the other running Ventura and is used as a file ...
0
votes
0
answers
133
views
Connect to Samba shares from Mac OS that has the same address but different port
I have MacOS Ventura 13.5.1 (22G90) and two remote Samba shares. They have the same url, same username and passwords but a different ports. The behaviour on Mac and smbutil command is quite strange.
...
0
votes
1
answer
251
views
How can I create SMB shares accessible from Windows/Mac/Linux clients which are hosted on a linux server (with login via LDAP)?
I currently replace old NAS systems with a fileserver. I am looking for a solution to create CIFS/SMB shares on the fileserver (Debian 12) which shall be protected by a login which works via LDAP ...
0
votes
1
answer
228
views
GPOs not applied when moved to OUs containing groups
I'm new to AD, and I'm starting with Samba AD.
I've created multiple single purpose GPOs, for instance "Shares - Home" which mounts the home share (\\nas.example.com\home), another "...
3
votes
1
answer
873
views
How to make samba share show free space correctly?
I have a server with proxmox on it, that has 2 VMs running.One of these servers has a samba share that is accessed by the other. The share points to the mounting point of a drive.
And here comes the ...
0
votes
2
answers
164
views
Office applications open files stored on local Samba server in protected view
The Environment
I have two Samba servers that I use as file servers. The older one runs CentOS 7, the newer one runs Rocky Linux, and I'm working on retiring the older one. I'm opening the files in ...
0
votes
0
answers
279
views
Samba client prohibits to copy filenames with special characters eg %7C (pipe) or other. What to do?
Samba client prohibits to copy filenames with special characters eg %7C (pipe) or other. both machines are linux driven. What to do?
I would like to retain filenames as it is.
I have modified /etc/...
0
votes
0
answers
381
views
Network-shared hard drive cannot be connected to with Samba
Description:
Hello. I am running Fedora 38 with samba software installed. I successfully setup a local network share of a home folder and it's been working fine for months now. Lately, I've wanted to ...
0
votes
1
answer
29
views
OpenVPN intercepts local Samba traffic between Laptop and PC over WiFi (Windows)
I have a weird problem with OpenVPN - it seems it somehow intercepts 'local' traffic.
I have PC + Notebook, both are in parallel connected to each other via:
WiFi - network 192.168.0.x
OpenVPN over ...
0
votes
2
answers
4k
views
Samba shares won't accept my credentials with Ubuntu 22 LTS/Windows 10
I have the following share set up on Ubuntu 22 LTS:
[share]
path = /home/user/trunk
browsable = yes
writeable = yes
public = yes
I ran sudo smbpasswd -a user and set the password to be the same as ...
0
votes
0
answers
149
views
Linux Samba server: files moved into shared directory via 'mv' command are not visible on clients
I've setup a Samba server on Rockey Linux 8. The shared directory can be mounted on Windows / macOS clients and files can be read/write without any issue. The problem is, if I mv some file from other ...
0
votes
0
answers
464
views
Speed of ubuntu samba server is very low
I am using my Laptop as my home Server. I haved installed Ubuntu 22.04.2 LTS version and using Samba for sharing files. My laptop/server is directly connected with router through LAN cable.
My server ...
1
vote
1
answer
661
views
what is proper way to share a ntfs data partition, nfs or samba
On linux desktop, a nfs server on home local network is already running. The same machine also has a secondary data ntfs partition as remnant of dual booting (which may happen again in the future).
...
1
vote
1
answer
230
views
AD Samba file server, PAM, set quota when user connect for the first time
I am trying to set quota on some directories when the user connect for the first time to the samba box (that runs on Rocky Linux 8). So, before being able to use the samba share, the user has to ...
1
vote
0
answers
1k
views
How can I make Samba's vfs fruit work with large macOS extended attributes on a Linux kernel?
I have a macOS client (12.6.7) with APFS filesystem that supports large extended attributes (one attribute value being over 68 MB in a test).
I have a NAS server with Ubuntu Server 22.04.2 LTS with ...
1
vote
0
answers
1k
views
List samba share when no one is connected?
How to list samba share when no one is connected (the smbstatus command only show actual samba connections) ?
So far, I found this command :
$ testparm -s 2>/dev/null | awk '/path/ && $3 !~ ...
0
votes
1
answer
744
views
Trouble using mount.cifs to mount a share drive on a local network after updating packages
Currently I have a computer running Arch linux 6.3.3-arch1-1. After running a system update with pacman -Syu about a month ago I have been unable to mount my network share drive, which is in my /etc/...
0
votes
1
answer
1k
views
Samba can not parse path when connect Time machine
I used freshtomato on Netgear R7000, and I wanted to make it as a time machine, so i installed Samba and Avahi, so I can find my hard drive in system preferences of macOS. But, mac keept asking me the ...
0
votes
0
answers
176
views
Some windows shares not mounting using cifs, permission denied error
In /etc/fstab I have a bunch of network shares that mount fine, using a credentials file at /root/.smbcredentials with my username, domain name and password. But a couple refuse to mount, and I don't ...
0
votes
0
answers
171
views
R Pi Samba mount error 112 (on an Zyxel NAS which had been mounting fine for 2yr using vers=1.0)
I have a raspberry pi 4 4gb which I've been using for 3y, initially as a Plex server and now as a backup file server. I have this old zyxel nsa310 NAS device that works very well up until now, with a ...
1
vote
0
answers
80
views
Can't access Samba share on new drive from Windows
I have a Rocky Linux server, and I'm using NFS to share between two VM's and I'm also trying to get the same folder shared to my laptop using Samba. I have one folder sharing successfully with samba ...
1
vote
1
answer
518
views
Why is NFS a lot slower than Samba in this case and can we make it faster?
I can't change much about the general setup, but try to do the best working with it:
General Setup
A .mdb backend Microsoft Access, for VBA, is placed on a computer. Other computers access that ...
1
vote
1
answer
1k
views
Setting up Linux Samba server (general problems): No permission
For my setup I would like to create a Samba server that only allows access from certain IP addresses.
I used this configuration - you might notice I am a bit overwhelmed by the options and used keys ...
0
votes
2
answers
1k
views
How to set up guest access to a samba shared directory between two Linux computers
Preface: I know that many people have asked similar questions over the years. I have read many responses to these questions, and blog entries on other sites, but I am still unable to configure samba ...
0
votes
0
answers
344
views
How to specify an alias in AD "Log On to" as computer name?
I'm trying to setup one user tied on a Windows 10 Pro computer (kiosk) on a Samba 4.18.2-Debian powered AD domain using the Users and Groups > (user) > Properties > Account > Log On to ...
0
votes
0
answers
58
views
Debug slow home network
I don't know how to approach this problem. The TL;DR is that my internal home network is "slow". Here is the setup:
I live in the UK. I have a Sky ER115 router
Directly plugged into the ...
1
vote
1
answer
658
views
Samba mounts hangs the system
I set up a cluster using pcs with 2 nodes + quorum
[root@konor2 etc]# pcs status
Cluster name: wildflycluster
Status of pacemakerd: 'Pacemaker is running' (last updated 2023-06-01 09:52:35 +02:00)
...
0
votes
0
answers
116
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.
...
1
vote
0
answers
161
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
95
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
193
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
1k
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
81
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
932
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
94
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
104
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
249
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
2k
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
3
answers
639
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 ...
1
vote
1
answer
4k
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
682
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-...
1
vote
1
answer
1k
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
64
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
433
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 ...