Samba on Linux the Easy Way
glovesoff.substack.com
Samba on Linux the Easy Way
1–10 of 43 posts
Re: Samba on Linux the Easy Way
#2Re: Samba on Linux the Easy Way
#3Re: Samba on Linux the Easy Way
#4Now the same person should write a “wireguard on Linux — the easy way”. (Which would probably be — use tailscale)
Re: Samba on Linux the Easy Way
#5I love NixOS for this. It's a few lines of Nix config to set up samba sharing for a directory + a .local domain for discoverability.
Re: Samba on Linux the Easy Way
#6It's not like setting up a share is hard, I'm missing the point of why something that's already easy would need an "easy way".
Now, Samba as an AD DC, across multiple sites, integrating with Kerberos and LDAP, so that users can have a single sign on experience across platforms... That, I'd be impressed at an "easy way" guide. ;-)
I think I'm not the target audience.
Re: Samba on Linux the Easy Way
#7It’s an entertaining way of writing, but please don’t do any of the port forwarding stuff mentioned towards the end. I can’t imagine any scenario where I’d want to have a Samba share exposed to the internet. If you need remote access to a local shared folder, use a VPN. Now the same person should write a “wireguard on Linux — the easy way”. (Which would probably be — use tailscale)
Re: Samba on Linux the Easy Way
#8I just use sshfs and I am done with it.
I just want to easily move files around my network and samba took too many hours of my life to look at what's wrong this year with client version or spaces in shared folders. It's always something.
Re: Samba on Linux the Easy Way
#9I have given up on Samba on my home network. It's just 2 pi, 2 laptops but client randomly loses connection to folders or dolphin/nautilus stop seeing folders, hit refresh, there it is again, etc. I just use sshfs and I am done with it. I just want to easily move files around my network and samba took too many hours of my life to look at what's wrong this year with client version or spaces in shared folders. It's alw…
1. Samba share is not discovered in the network. All my problems were gone after installing wsdd2.
2. Permissions. Especially Windows clients implicitly try to login with an empty password to check if the share can accessed without one. This can lead to problems with the "map to guest" directive in the Samba configuration. Also the Windows credential storage sometimes saves passwords that did not work and implicitly tries to login.
But don't get me started on the Gnome/gvfs client implementation of Samba. I have given up on that.
- https://bugs.launchpad.net/gvfs/+bug/1828107
- https://gitlab.gnome.org/GNOME/gvfs/-/issues/307
I put together a small writeup in case someone wants to take a deep-dive: https://blog.hiebl.cc/posts/why-your-samba-config-does-not-w...
Re: Samba on Linux the Easy Way
#10I have given up on Samba on my home network. It's just 2 pi, 2 laptops but client randomly loses connection to folders or dolphin/nautilus stop seeing folders, hit refresh, there it is again, etc. I just use sshfs and I am done with it. I just want to easily move files around my network and samba took too many hours of my life to look at what's wrong this year with client version or spaces in shared folders. It's alw…
For years I used Avahi to run afp shares on my Linux machines for my Macs, but I don’t even bother anymore. I have ssh setup on all my computers, it’s all I really need. Sometimes I’ll mount it, but 90% of the time I just scp over the file I want.