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,460
questions
2
votes
1
answer
4k
views
How to reset credentials of shared network in windows 11?
I have a server with windows 11 and I have a client computer with windows 11 too.
Until now, to connect to a shared folder in the server, in the file explorer of the client I write: \x.x.x.x\MyShared ...
0
votes
0
answers
1k
views
How to mount a cifs Partition for docker-compose?
I want docker-compose to mount one of the volumes to a mounted CIFS partition.
I used the seafile docker-compose file and changed the volumes to
...
db:
...
volumes:
- /mnt/nas_share/...
0
votes
0
answers
737
views
Is it possible for multiple users to access a Samba share concurrently?
So I'm planning on mining Ethereum, and found that the blockchain is about 1 tb! None of my computers have the disk space to store this gargantuan blockchain. However I do have a 2 tb USB hard drive ...
0
votes
1
answer
2k
views
Samba recycle module is not moving deleted files as desired
Samba recycle module issue
When I delete <share>/path/to/foo.txt, the folder <share>/.recycle/path/to is created, however, the folder is empty without foo.txt present.
Environment
...
1
vote
1
answer
652
views
KDE Dolphin not preserving modified date of files when copying to samba share
This is my first post here, but I've been an avid reader. I have not been able to resolve this on my even after reading a lot of articles on the matter.
I am using kubuntu 21.10 at the moment, but I ...
0
votes
1
answer
5k
views
samba share access from windows to ubuntu with Microsoft account
I want to access a samba share folder hosted on my ubuntu machine from my windows machine using file explorer. If I create a local windows account using the same username as the ubuntu machine it ...
0
votes
0
answers
2k
views
How can I allow all users to read/write/modify/delete files on Samba share? (re: home network)
I'm having difficulty understanding file/directory permissions especially with Samba.
On my server (Debian 11, Samba 4.13.13), I've created several different users and added them to samba (ie. ...
1
vote
1
answer
13k
views
Can't use SMB2 on Windows XP: Is there any way to enable or install SMB2 in Windows XP?
I have a Windows XP machine which I need to read files from using Samba.
I'm developing a service that uses the EzSmb Nuget. The read process from the Windows XP Samba share folder should be following:...
0
votes
0
answers
24
views
Does samba have the ability to specify a backup location for files that are replaced/overwritten?
I want it so every time a client modifies an existing file from a samba share, samba, on the server, will make a backup copy of the file first. Either by making a backup or using some kind of hard-...
1
vote
0
answers
44
views
Recognizing a PC in a school or university network
I would like to use a Ubuntu server as NAS. I installed Ubuntu server and samba in the PC, and can connect via ssh using the IP-address. However, the pc is connected in a large network owned by the ...
0
votes
2
answers
215
views
Resume TimeMachine backup with Samba on RPi
I backup my Mac using TimeMachine over Samba which is installed on my Raspberry Pi (with Raspbian Lite).
Everything was OK since a long time (I started this backup from macOS Big Sur and now I'm on ...
1
vote
0
answers
165
views
SMB over VM over VPN?
I've been struggling with forwarding traffic to SMB over VM that connects to my reverse proxy server that has public IP.
My setup:
Home:
[Debian11 server with SMB] (My server rack)
[Ubuntu VPS] (my ...
0
votes
1
answer
3k
views
Can you mount a shared folder from a samba server in windows?
I have a samba server on my centos machine and can access the shared folder via windows ... I keep seeing this term mounting in my course and I am pretty confused on what it means does it mean too ...
2
votes
0
answers
3k
views
how to set permissions in SAMBA Ubuntu 20.04
I have a SAMBA server on ubuntu 20.04. I have a folder with sbfolders with different permissions for different users, then I create a folder that can be accessed by all users with 777 permissions. ...
2
votes
0
answers
227
views
MacOs - Keep SMB server mounts alive on temporary VPN connection drops/reconnects
I am using SSTP VPN Connections (via SSTPc) on my MacBook and am mounting manually SMB Drives from the VPN Network.
Hwr, anytime my VPN Connection drops, my Mounts are unmounted and not there in ...
-1
votes
1
answer
13k
views
Samba server permissions
I have a Ubuntu server installed on the "server" with 5 users (+ root + transmission).
These 5 users (omichron_group) are windows/mac users.
I tried to read the samba manual/doc but i ...
0
votes
0
answers
578
views
Mapping Network drive on Raspberry pi 3 Not Working
I'm trying to figure out where I'm mistaken. I have Pi 3 that runs the following:
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
...
0
votes
1
answer
2k
views
samba share running but shares are not accessible (raspbian)
I am setting up a raspberry pi 4 server with samba (SMBD/CIFS) file-share and despite replicating tutorials and using the same setup as on a previous pi I could not get it to connect. The samba ...
0
votes
1
answer
2k
views
Windows -> samba - slow write speed
I have a Debian linux machine with samba Version 4.13.13-Debian on a peer-to-peer network. I've just run a LAN speed test, and it gives a considerably slower write speed from Windows -> Debian, ...
1
vote
0
answers
191
views
Sharing a printer on Arch to Windows clients
Following the stereotype that printers never "just work", I need help with sharing my Samsung ML-2160 on Arch.
I already followed some guides, installed CUPS and the samsung-unified-driver ...
1
vote
1
answer
1k
views
smb.conf read only any user no password
I want to host a path over samba which any user can read without a password.
In smb.conf on my host PC:
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
log file = /...
1
vote
3
answers
485
views
Access home network Linux server (samba and other services) behind operators NAT (no public IP4 address)
this is my first question here...
I have got home small Linux server with RAID1 disks and few services (samba, ssh, minidlna) serving Windows 10 machines
Home network is connected to operator's ...
4
votes
1
answer
591
views
WSL2: file permissions unknown on a samba share
On my windows, I have my y: mapped on a samba share. On this share, I can read/write files, even if I'm not allowed to see files permission.
On my WSL Ubuntu-20.04, I try to map this drive:
$ sudo ...
1
vote
0
answers
1k
views
Can access entire NAS, but can't map it as network drive
I can access my entire NAS via Windows Explorer (Samba), but I cannot map it as network drive. I must always map a particular share:
Is this a normal situation? Is there anything I can do about it?
I ...
0
votes
1
answer
329
views
Recently took over a Domain, cannot manage the domain controller (Ubuntu system supposed to be hosting Windows AD via SAMBA) [MSP]
Guys (and gals and everything in-between), I'm stumped.
I'm an MSP and recently took over a new client. The prior IT left on not so great circumstances, and I'm inheriting their mess. One of my recent ...
3
votes
2
answers
20k
views
Enter network credentials (almost) every time I access a network share (NAS SMB)
Windows 10 prompts me for password when I want to access a password-less network share. The share is on a NAS (SMB protocol). I can access the share from other OS/systems without any password just ...
0
votes
1
answer
492
views
How to access PC via Remote Desktop Connection and access SMB folder
My home topology is like in the image shown.
My ISP (My Republic) gives me public IP, but I don't want to use their router (Fiberhome HG6243C) because my Asus router has more features and overall ...
0
votes
0
answers
335
views
Why does a shared samba directory show different file permissions?
The file permission in my samba server (local filesystem) are as follows:
-rw-r-----+ 1 sambaserver sambaserver 49 Jan 9 01:14 staticfile.md
However, when accessed remotely through a client, the ...
0
votes
0
answers
1k
views
how to configure samba to be visible in another subnet
I have a subnet 192.168.1.0/24 and in it I have a smbd/nmbd server The samba server is for example: 192.168.1.25 the gateway/router here is 192.168.1.1
in this subnet there is a cascading router 192....
0
votes
1
answer
322
views
Debian NAS server - how to achieve zero disk activity
I want to prolong the lifespan of my hard drives in my NAS server so I want them to be completely idle when nobody actively uses NAS services. However because of logging and RAID 1 sync I can hear my ...
0
votes
0
answers
1k
views
Windows 10 domain machine won't use NTLMv2 auth
I have several Windows 10 machines on a corporate domain which are unable to mount an SMB share. Other Windows clients outside the domain can mount the share just fine. The Samba server allows only ...
1
vote
2
answers
4k
views
Share folder on local network with ubuntu
I try to share folder on ubuntu and connect to it through windows, currently know how to do it by these steps: https://linuxhint.com/share-folder-on-local-network-with-ubuntu/
but, since I have a lot ...
2
votes
1
answer
5k
views
Windows 10.0.19043.1320 Pro (21H1) and NFS Share: MOUNT.EXE missing
I have a Terra Master F5-221 NAS with SAMBA/CIFS and NFS shares. The SAMBA shares can be accessed no problem; just open Windows Explorer and put \\NASIPADDRESS\sharename as the address. But that is ...
1
vote
0
answers
157
views
Issue with IPv6 on Samba share when connecting from Windows clients - a Windows Credentials box appears asking for username and password
If I remove IPv6 from Linux Samba shares are accessible again - reinstate IPv6 - dialog box for credentials appears again.
Has anyone got any ideas?
1
vote
1
answer
3k
views
Automatically add AD users to linux group
I need to add users to a specific group on Linux automatically to allow running some programs from another user with no password prompt like:
su nopswduser -c 'echo Hello'
I'm adding group to local ...
1
vote
0
answers
39
views
Can i move samba from device to another?
I downloaded the samba on my operating system (Oracle Linux 8), I want to copy it to another device that have the same operating system but without internet connection. Can I do that? if i can how to ...
1
vote
2
answers
3k
views
SMB-shared printer visible, but can no longer connect to it
I have a Brother HL-L2300D printer, connected by USB to a Raspberry Pi serving as a print server for a LAN segment somewhere. The Pi runs Raspbian, and has a samba server and a CUPS server running - ...
0
votes
1
answer
1k
views
Samba Winbind on Centos 7 not reading full name for any AD user
I have Samba configured to use winbind to authenticate users through our Active Directory domain controller. Everything seems to be working, it is reading uidNumber, gidNumber, unixHomeDirectory, and ...
-1
votes
1
answer
334
views
Having issues setting up a Samba share on Debian
I am trying to do a simple Samba share for a home network. I want anyone on the network to be able to r/w to it.
I followed this but not sure if I followed it exactly correctly, since, as best I can ...
0
votes
1
answer
74
views
Samba share from Linux host to VirtualBox client requires restart
I have a Linux host and a Windows 10 VirtualBox guest. I use samba to share a folder from the host to the client over the vboxnet0 interface which is a Host-only adapter.
Samba version: 4.11.6-Ubuntu
...
0
votes
1
answer
3k
views
can't access network share (windows accessing raspberry pi)
can't access network share (windows accessing raspberry pi)
I wrote a bootable Pi OS onto a Micro-SD card for my raspberry pi, with the raspberry pi imager download for windows https://www.raspberrypi....
0
votes
1
answer
1k
views
SMB share across two subnets
I have two routers:
router A - 192.168.1.1
router B - 192.168.2.1
Router A has a NAS connected to it (SMB share), and also has a USB drive configured as a SMB share. There are static routes ...
0
votes
1
answer
347
views
Cannot Open As Administrator on Network Location if Didn't Remember Password
On Windows, when I try to access a network location (specifically, a drive on another Linux computer being shared with Samba), it will prompt me for a username and password. What I find interesting is ...
1
vote
1
answer
1k
views
Samba wake server from sleep?
I have a shared folder set up between my Linux computer and my Windows Computer using samba. Right now if my Linux computer goes into standby mode or sleep mode I cannot wake the computer up by ...
0
votes
0
answers
1k
views
Samba share mounts as rw but non-root users can't write to it
On machine A with IP address 192.168.0.2, /etc/samba/smb.conf contains
[store]
path=/store
writeable=yes
valid_users=myusername
On machine B, when I I
mkdir /tmp/net/store
sudo mount -t cifs -o user=...
1
vote
0
answers
42
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, ...
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 ...
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/...
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 ...
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 ...