
On 31.01.22 20:45, Joe Salmeri wrote:
Hi Stefan,
What do you use to share files on your network? I am using Samba because I have Windows and Linux clients.
Short answer: I don't share files on my network ;-) Longer answer: For Linux clients (most of my machines), a central NFS server at home and a NIS (YP) automounter setup is good enough. On the same server, there is an apache web server which is providing the same directories that the NFS server is sharing via http. So whenever I need to share e.g. a big installation package downloaded on linux to a windows VM, I can put it onto the NFS share from Linux and then download with the browser in Windows. If I need to export somehting from windows back to the other machines, I usually just use ssh (putty / pscp or such) to copy it onto the server, from where it can be retrieved again via NFS / HTTP. OR... i just move it around via my local (on the same server) owncloud installation OR, sometimes, just via Google drive.
Is there a better option that I have missed?
I would not consider my setup "better" at all. It is all unauthenticated (old style NFS3, NIS is not really "secure" IIUC, http download without credentials, all directories more or less world-readwriteable) and nothing that a non-technical user can use easily. I think I even have a samba server running on that server machine for some reason I forgot (maybe windows printing?), but I just never got around to understanding how to mount samba shares on linux and in the past it was said to perform worse than NFS. The setup has evolved over 20 years and I guess it will last another 20 years and then I'll probably no longer care that much ;-) So use whatever fits you well. Maybe also creating a bugreport pam-config, so that you do not need to manually fix your setup after every update would be appropriate, as a tool that breaks your config every time is clearly broken ;-) Best regards, -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman