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
0 votes
0 answers
21 views

Samba share not working after switching from WiFi to Ethernet

I had a samba share running on my Raspberry Pi and it was working fine over WiFi. Now I have decided to switch to Ethernet. The IP has changed (no big deal) and I cannot connect to the share. When I ...
Betha's user avatar
  • 1
0 votes
0 answers
22 views

Error mounting NAS share with script and CIFS

I use the following bash script to create a MySQL dump locally and copy it to a network share (NAS). #!/bin/bash # Define your credentials (replace with your actual values) MYSQL_USER="...
Houhouhaha's user avatar
0 votes
0 answers
29 views

Create file on AD samba share: Permission denied

I am setting up a samba active directory server (inside fmstrat docker container) on ubuntu server 22.04. After some trial on error I achieved: hosting an AD server on my ubuntu server joining a ...
bas's user avatar
  • 331
0 votes
1 answer
21 views

Fresh install samba active directory - provisioning tool takes forever?

I have a pretty strong server (AMD ryzen 9, 32GB ram) and I am trying to install samba server as active directory domain controller. Following the official docs from samba, I run into a strange issue. ...
bas's user avatar
  • 331
0 votes
2 answers
79 views

Access \\wsl$\Ubuntu from a different Windows machine on network

I have a Windows 2022 Server, build 23H2 / 22631, and it runs an Ubuntu 22.04 distribution in WSL2. If I'm on the server itself, I can access the files in this distribution using the \\wsl$\Ubuntu ...
neilalex's user avatar
-1 votes
1 answer
106 views

Samba Shares Fail - Pre-Authentication Failed

Good day, We have multiple HPCs (RHEL, CentOS, Ubuntu) running samba shares so that user can easily transfer files back and forth. About 3 months ago, the DCs/AD got a refresh, redundancy (2 servers) ...
barnstormer's user avatar
0 votes
0 answers
36 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). ...
ift-436t's user avatar
0 votes
2 answers
31 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 =...
Minja Culic's user avatar
0 votes
0 answers
279 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 ...
HPF's user avatar
  • 1
0 votes
0 answers
83 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 ...
Tobias's user avatar
  • 1
1 vote
1 answer
275 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 ...
Something new's user avatar
0 votes
0 answers
26 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 ...
Spynal's user avatar
  • 1
0 votes
0 answers
22 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 ...
leeand00's user avatar
  • 22.4k
2 votes
2 answers
244 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 ...
S-3131's user avatar
  • 19
1 vote
1 answer
20 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 ...
Sogawa-sps's user avatar
-1 votes
1 answer
146 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 ...
S-3131's user avatar
  • 19
0 votes
0 answers
46 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 ...
InterClaw's user avatar
0 votes
0 answers
89 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 ...
GabiGunner's user avatar
0 votes
1 answer
127 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 ...
RadarNyan's user avatar
  • 173
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)....
manµ's user avatar
  • 3
0 votes
1 answer
166 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'...
manµ's user avatar
  • 3
0 votes
0 answers
167 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 ...
user12179645's user avatar
0 votes
1 answer
121 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 ...
Krzysztof Stasiak's user avatar
1 vote
1 answer
412 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 /...
Maxthecat's user avatar
  • 121
0 votes
1 answer
199 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
0 answers
284 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 ...
spraff's user avatar
  • 2,148
1 vote
0 answers
99 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 ...
swami's user avatar
  • 121
1 vote
1 answer
96 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] ...
Jon S's user avatar
  • 21
2 votes
0 answers
91 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 ...
user avatar
0 votes
0 answers
312 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 ...
buntu peddler's user avatar
0 votes
0 answers
97 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 ...
Mama_mia's user avatar
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 ...
Jay Croghan's user avatar
0 votes
0 answers
112 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&...
nicktheone's user avatar
0 votes
0 answers
419 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 ...
ClassyUnderexposure's user avatar
0 votes
0 answers
117 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 ...
Veron's user avatar
  • 1
1 vote
1 answer
77 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:...
Alessio_110's user avatar
0 votes
0 answers
376 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 ...
Codrut's user avatar
  • 115
0 votes
0 answers
119 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,...
C1pher's user avatar
  • 191
1 vote
1 answer
68 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 &...
Steve's user avatar
  • 21
0 votes
0 answers
71 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/...
Tomasz Daszynski's user avatar
0 votes
0 answers
164 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 ...
tkhobbes's user avatar
  • 101
0 votes
0 answers
176 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 ...
spawnferkel's user avatar
1 vote
0 answers
136 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 ...
Thomson's user avatar
  • 11
0 votes
1 answer
333 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 ...
alle_meije's user avatar
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 ...
Giovanni's user avatar
0 votes
0 answers
168 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 ...
YKKY's user avatar
  • 235
0 votes
0 answers
92 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....
Jimm Chen's user avatar
  • 5,904
1 vote
1 answer
512 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 ...
Mikaelblomkvistsson's user avatar
1 vote
1 answer
265 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-...
kshetline's user avatar
  • 155
0 votes
0 answers
295 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,...
MartyCH85's user avatar

1
2 3 4 5
30