The windows interoperability suite for unix. In general if you want a "network share" which will work on windows, macos, and linux, then windows will be the pain point. The easiest solution is using samba to essentially emulate being a windows server.
The config is in /etc/samba/smb.conf and it's heavily commented.
macos fixes
For some reason macos sends a weird username for "guest" connections. To fix this there's a rule that treats any incorrect usernames as "guest":
[global]
map to guest = bad user
You can also enable server-side copying for macos clients saving them loads of bandwidth with the following:
[global]
fruit:copyfile = yes