Wanting to set up Samba upon two Linux systems: desktop (Rocky server) and laptop (Debian client) - is this possible?

Priest_Apostate

Active Member
Joined
Nov 7, 2023
Messages
197
Reaction score
47
Credits
2,117
The documentation I found online seems to only focus on setting up Linux connectivity/functionality between a Window and Linux system. I am wanting to find out if it is possible to set up SMB access so that I can establish a mount between my Debian laptop to a folder on my Rocky Linux system.

Is that possible - or, is there an SMB alternative to which I am not aware?
 


Should be possible. I have samba installed on a server, laptop and desktop (all Linux) and can access folders set up in /etc/samba/smb.conf on each computer. In my case, the files are accessed using the network menu in thunar (XFCE).
 
I've been working with it in Dolphin - but encountering obstacles in doing so. While the systems are able to connect to each other via SFTP and via Remmina, online documentation seemed to indicate that only Linux-to-Windows connections would work.

What reference page did you use to set up the connectivity?
 
I cannot remember where I originally learned the samba basics.

I don't know anything about Dolphin or KDE but samba works with thunar on XFCE. All my PCs and the media server are behind a NAT router on the same LAN. I never need remote access.

My setup is very basic with a single username and password for everyone I trust on the house LAN.

I add/edit this section in the global section of the default /etc/samba/smb.conf file.
------------------------
[global]
server min protocol = SMB2_10
client min protocol = SMB2_10
client max protocol = SMB3
encrypt passwords = true
restrict anonymous = 2
map to guest = never
----------------------------

and add this to the bottom of /etc/samba/smb.conf
---------------------------------
[shared]
comment = Shared directory
path = /home/<username>/shared
valid users = <username>
printable = no
guest ok = no
public = no
writable = yes
browseable = yes
create mask = 0765
------------------------------
 
"I never need remote access."

I figure that with remote access, one would suffice with sftp or VPN access, as setting up SMB access over a remote network just screams "vulnerability."
 


Follow Linux.org

Staff online

Members online


Latest posts

Top