Samba or?

I have a Ubuntu server 20.04 that I’ve been upgrading since V 8 ( or there about’s)
I’m thinking about doing a clean install of ubuntu sever 20.04 and reinstall samba, but i saw a post that there are other option for setting up shares.

need: windows pc must be able to access the shares.

Question: should I stay with samba or is there a better option for windows sharing the Ubuntu system?
Note: samba works just fine for what I need.

Tim

1 Like

Samba with zfs as a filesystem in the backend allows you to do windows shares with snapshots which keep file version history.

Thats a worthy upgrade

As wiil stated, to add or pile on to the comments made.
ZFS also adds the ability to do checksums which assist in bit rot.
weekly scrubs, and snapshots.

Thanks you both for responding, I’ll definitely look into it.

Tim

If you look at samba developers, their admission for healthy setup out of the box with winbind or wsdd nighmare and protected Windows protocols which samba some of them not purged yet and with network viruses and similar problems built-in are built into Microsoft network products which linux servers also could have(i also remember bluetooth samba printers :), but samba developers not in their mindset but their backing into foundation says such mind settings not fully compliant into ubuntu ecosystem, so who knows…

Windows can also mount NFS. You just need to enable the NFS client feature in Programs and Features
https://blog.netwrix.com/2022/11/18/mounting-nfs-client-windows/

@tross9 ,
Just a bit more on ZFS, it does support SMB (Samba) and NFS. Just in case you haven’t run across that bit of information. As a hint ZFS is actually a filesystem unto itself.
If you search enough you will find that actually you can share both, easier than setting up a traditional service.
In other words I could have easily set my NFS up without editing my export file by invoking the appropriate zfs share command for my data pool that I created.
(IF you will need SMB will depend on your Windows Version, Yes Windows will do NFS on some versions i.e. Windows 11 I think all versions of 11 support it or Windows10 Pro, I know for sure that Win 10 Home doesn’t support NFS as shipped).