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,459
questions
0
votes
0
answers
11
views
Is it possible to temporarily disable or block a samba share without server restart?
I have Linux server hosting separate samba share for users on some windows clients (each user would have a linux client also accessing their share) (users have authenticator app on separate devices). ...
0
votes
2
answers
23
views
Setting up the group permissions in samba throughout archlinux
I wanted to set up the permissions for the group on linux, so members can access the group on windows.
I coded it in archlinux and it looks like this :
[test]
path = /srv/smbtest/test
valid users =...
0
votes
0
answers
65
views
How to debug Samba/SMB/CIFS timing error
I'd be grateful for help with the following which seems to be a timing issue:
The samba server is an Asustor FlashStor running ADM 4.2.5.RN33 and under the good the smbd 4.12.8. The client is an ...
0
votes
0
answers
74
views
Samba Server does restrict writing but not browsing or reading
I made a Samba Server with 3 shares for each user and I would like to restrict access to it so only those users can access their folder. I have been browsing so much only that I got a mad headache ...
1
vote
1
answer
200
views
I think I got the “!want_to_cry.txt” (WannaCry?) virus on my Samba server. Was this inevitable?
Update: I have checked my note app where I opened the ransome note and the recent open files tab shows me the name of the text file I opened originally. I don't have the contents but the file was ...
0
votes
0
answers
20
views
Samba can't access to directory created by local user
I have samba share
[Attachments]
acl_xattr:ignore system acls = Yes
acl_xattr:default acl style = windows
dos filemode = true
acl allow execute always = Yes
acl ...
0
votes
0
answers
18
views
Accessing the same file between two different WSL2 installations in Windows?
I have two WSL2 installations, but I have a need to access/modify the same file on both of them.
My first thought would be that maybe I need to set up a samba share between the two of them; but I'm ...
2
votes
2
answers
101
views
Why did Samba shares stop working out of nowhere?
I'm hosting a home server using Ubuntu 22.04. I've been using Samba to share a drive with my Windows 10 system for a couple days now, today out of nowhere I can no longer access the drive through ...
1
vote
1
answer
18
views
Unable to connect to a shared disk on Windows using a Microsoft account
I installed Windows from scratch on a new PC and logged in using a Microsoft account. I shared a disk but was unable to open it from another computer in my network using the same Microsoft account. I ...
-1
votes
1
answer
77
views
How do i share a second drive using samba on Ubuntu 22.04.3?
Im pretty new to linux and am setting up a home server using ubuntu. I set up samba in the terminal using a video guide then realized i had set it up to share the smaller drive ubuntu was on and not ...
0
votes
0
answers
30
views
Hostname says "This folder is empty"
There are two Samba servers on the network and two Windows clients. Both servers allow guest access. All four devices are part of WORKGROUP.
Computer A:
Sees Server 1 in Explorer
Can access Server 1 ...
0
votes
0
answers
62
views
Samba share error (this location could not be displayed. You do not have the permissions necessary to view the contents of "<username> on <local-ip>")
I have a Fedora 39 home server freshly set up. It appears that when I specifically set the /home partition separate from the / partition, I receive the samba error specified in the title when trying ...
0
votes
1
answer
104
views
How to change the default account Windows uses when connecting to a network share (samba)?
I have my Windows setup with a single local admin account with no password, so it logs in automatically after boot. I do this as a security practice, as blank passwords are not allowed for elevation ...
0
votes
0
answers
17
views
C-function fwrite in 'r+'-mode on Samba share
Since the switch from samba protocol SMB1 to SMB2, it seems that fwrite can't act in "r+"-mode on files on a mounted samba share anymore. Errno is set to EOPNOTSUPP (Operation not supported)....
0
votes
1
answer
108
views
symlinks on Samba share created by linux client (mfsymlink) not working on server
On my mounted Samba share I can create a symlink from a linux client by simple
ln -s hello.txt hello.sl
This works for the client (on linux) when 'mfsymlinks' option is enabled, but the symlink doesn'...
0
votes
0
answers
130
views
SMB/connection between devices in the same network is too slow
I shared a folder in windows (which is connected to my modem/router combo(same modem that I use for internet))
When I access(wirelessly/same network) this folder from any device I get very low speeds
...
0
votes
1
answer
90
views
Samba ADDC DNS with external DNS
I want to run Samba ADDC. I have networks configured on router (linux with bind and isc-dhcp) whitch is managing some subnets (LAN / WAN / DMZ / etc.).
On one subnet I want to make ADDC, but I want to ...
1
vote
1
answer
214
views
How can I restrict a folder by password in samba?
I have a samba share setup. I want to allow anyone to access the public share on /mypool/shared without any authentication. I also want to restrict access to /mypool/restricted. I've also created a /...
0
votes
1
answer
122
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 "...
0
votes
0
answers
90
views
How to list which paths are succesfully shared by samba
I had some paths shared via samba from an Ubuntu host and they are no longer working for some reason.
I want to figure out whether it is the server or client which is misconfigured.
What command can I ...
1
vote
0
answers
85
views
Slow move on Windows samba client when directory contains many small files
I have a Samba share mounted on a Windows client and from the client, when I move a directory containing ~2500 small files totaling around 1.5TB, it takes almost a minute.
Why is this not ...
1
vote
1
answer
86
views
LibreOffice Calc save to CIFS not working
I have an HP Compaq nx9420 that runs Debian 12/bookworm kernel 6.1.0-10-amd64. It's a default install with no extras or tweaks.
I mount a CIFS-drive (fstab-line: "//[ip]/[share] /[mnt]/[point] ...
2
votes
0
answers
76
views
Nautilus / Gnome asks for account to list available SMB shares
I'm currently configuring 3 Samba shares that are all "browseable = yes". Everything works well when I connect on each individual share like :
\\server\share (Windows) OR smb://server/share ...
0
votes
0
answers
254
views
Recent trouble connecting to SMB share from Windows client or Ubuntu client
I have an old PC that I use as a server. It mostly is used for serving up Plex and family photos/videos - just three SATA drives attached for storage. The machine runs Ubuntu Server 22.04.2 installed ...
0
votes
0
answers
92
views
NFS slower than SMB between Linux machines
I have a QNAP TS-419P II in which I installed Debian Bookworm. I have some NFS and Samba shares to be used by some Windows and Linux clients. I was doing some testing and noticed something weird. I'm ...
0
votes
0
answers
16
views
Do I need to take ownership to be able to delete/move files?
I run bittorrent-nox on my little seed box and since I switched from NTFS to ext4 now sometimes the files will not let me edit them over SAMBA file share - it tells me I need to be the bittorrent nox ...
0
votes
0
answers
97
views
Docker container fails to start because of missing SMB drive and doesn't restart automatically when connected
I have a Docker container that uses an SMB drive as a volume. This is the compose file for it:
name: "audiobookshelf"
services:
audiobookshelf:
container_name: "audiobookshelf&...
0
votes
0
answers
390
views
ln: failed to create hard link | No such file or directory - Even when file exists
Running Ubuntu 22.04.3 LTS using a Samba share (Version 4.17.12-Debian) running on Proxmox.
The command: ln "/mnt/drive/downloads/movie.mkv" "/mnt/drive/movies/movie/movie.mkv"
The ...
0
votes
0
answers
109
views
Samba share pointing to a mounted drive on raspberry Pi has no more free space but there's plenty
I hope this is the right place to get some help as I believe this to be an issue with Samba or more likely my configuration / mount that is used by it.
Short background story: I have a raspberry pi ...
1
vote
1
answer
69
views
Accessing samba shared files over internet
I am trying to access my samba share over internet. I can already access it via ssh and I have opened the 445 port but I cannot find the linux command line to access it.
Let's say I have the following:...
0
votes
0
answers
305
views
Can't access Samba drive from android devices as encryption is required
I am unable to access my samba drive from any android device. The connection fails even though the password is correct.
Looking at the logs, I can see that the connection fails due to the lack of ...
0
votes
0
answers
100
views
List all Volumes of an SMB share on Windows
I have enabled SMB sharing on a MacBook Pro with an IP address 192.168.128.29. On another MacBook Pro, I can connect to server with smb://192.168.128.29/ and after providing the username and password,...
1
vote
1
answer
66
views
Samba: how do have one username to a number of linux users
I have a samba server installed on a Linux box. It runs well with me loging in as "user" and accessing my "Home" directory but I would also alike to access the files owned by &...
0
votes
0
answers
63
views
Running sencha app watch locally on sambashare
I have setup a vm on my small NAS, that is functioning as a apache web server. I've installed sencha, Sencha Cmd and yii2. Everything was working okay, but as it turns out my NAS is a little to old/...
0
votes
0
answers
157
views
Debian: mounting cifs shares starts to early or timeouts at boot
I am on debian bookworm and have the following entries in my /etc/fstab; at random, one of these SMB / CIFS shares are not mounted with an error of -112. I think this has to do with the fact that the ...
0
votes
0
answers
150
views
Files are corrupt after copying/streaming them from samba fileshare
I'm running Debian 12 with an smb file server installed. The Samba version is 4.17.12-Debian. When I try watching any video from the share on any other machine in the network, there are significant ...
1
vote
0
answers
107
views
create samba share with SMBv1 and multiple networks to separate old machine?
i have a very specific scenario i'm trying to achieve. I'm using a pretty old machine that relies on SMBv1 AND Netbios Name to find its working data. Currently i'm running a separate computer with ...
0
votes
1
answer
278
views
connecting Ubuntu host and Windows 7 guest with samba
I have a Windows 7 guest OS on a Ubuntu 22.04 host and I'm trying to set up a Samba connection to transfer files between them. This is how I understand it should work:
On the Ubuntu host:
1: install ...
0
votes
2
answers
2k
views
How do I configure my Linux Samba server smb.conf file to allow for Windows guest-access without requiring credentials from the server?
How do I configure my Linux Samba server smb.conf file to allow for Windows guest-access without requiring credentials from the server?
I've tried the following smb.conf. It allows Windows clients to ...
0
votes
0
answers
154
views
XigmaNAS: set different access rights to different SAMBA shares
Here is what XigmaNAS manual says regarding my question:
Q: What do I need to do to setup different file / folder access for my
Windows clients / users?
A: If you carefully follow the basic steps
...
0
votes
0
answers
78
views
Very weird samba share (net use) client error code 1219, what happens?
I'm facing such a weird problem.
From a freshly started Windows 8.1 client PC, I issue two net use commands to connect a Samba shared folder.
net use H: \\10.22.3.84\h /user:guest
net use L: \\10.22....
1
vote
1
answer
325
views
How to list stored samba shares credentials in Windows10
I have a samba share on my NAS and mounted it in Windows-10 for a couple of days.
Then I removed the share on Windows, however it is still trying to access it - but with incorrect credentials. I know ...
1
vote
1
answer
252
views
From Windows, can I control default Linux file permissions for a new file created via SMB?
I'm batch processing a lot of video files stored on an Unraid array with code running on Windows, accessing files on the array via SMB. Whenever I create a new MKV file it ends up flagged as user-...
0
votes
0
answers
284
views
Mount a 2nd SMB Share Drive from Local Windows PC to Ubuntu 22.04.03
Today is the first day of my 38 years on this planet that I am using Linux. So please be patient with me.
I have successfully followed a series of steps to mount a share folder from my Windows Desktop,...
0
votes
0
answers
162
views
How to upload ldif file to ldap Samba-dc server?
For local development I docker compose file like that:
version: '3.4'
networks:
dsm:
services:
samba:
image: instantlinux/samba-dc:latest
container_name: samba-dc
cap_add:
- ...
0
votes
0
answers
102
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
877
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
1k
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
57
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
322
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 ...