Netatalk used to be the thing, now it’s basically samba on Linux and the shares are pretty straightforward. It’s a bit of a faff on the samba side as there are a bunch of options for auth.
NFS is another option, but I mostly use that for r/o media shares.