I have researched online resources for quite some time now, did my own testing and am now turning to this board to possibly help me along.
The scenario is as follows: Apple has deprecated the AFP protocol some time ago. Starting with macOS 10.13, AFP will not be able to serve files from a APFS partition, the new mandatory file system (see developer.apple.com). AFP client support is kept for the time being, although not officially supported any longer. That disqualifies it as a viable medium- to long-term solution, which includes Netatalk as a server component.
As quick server-side search for file names (not necessarily file contents or metadata, although macOS users have become accustomed to this) is a hard requirement for file servers, I am looking how to implement this with FreeBSD. Having switched from Linux as my main server OS a couple of years ago, I have implemented every single customer server on a FreeBSD base and it has been remarkably stable the whole time. Hence I'd like to use FreeBSD as a Samba server as well.
The Samba basics are simple. Problems appear when you try to make indexed searching available, in the style of Netatalk's spotlight support. There is a single page of not very comprehensive information based on (as it appears on the surface) instructions for Fedora Linux, offering zero information for other platforms: https://wiki.samba.org/index.php/Spotlight
Having tried to replicate the steps on FreeBSD, I couldn't get it to work, even when manually compiling in vfs_fruit and Spotlight support, which are both unavailable as configuration options in the ports tree version of Samba.
The most recent information I was able to find is from the Ports mailing list: https://www.mail-archive.com/freebsd-ports@freebsd.org/msg67346.html This lead me nowhere as well.
So I'm looking for input, pointers, ideas and ideally solutions for this situation. It astounds me most that in 2017 there still appears to be no modern (as in capable of quick indexed search), reliable, cross-platform sharing protocol for file servers, despite Samba being supported by all relevant platforms.
The scenario is as follows: Apple has deprecated the AFP protocol some time ago. Starting with macOS 10.13, AFP will not be able to serve files from a APFS partition, the new mandatory file system (see developer.apple.com). AFP client support is kept for the time being, although not officially supported any longer. That disqualifies it as a viable medium- to long-term solution, which includes Netatalk as a server component.
As quick server-side search for file names (not necessarily file contents or metadata, although macOS users have become accustomed to this) is a hard requirement for file servers, I am looking how to implement this with FreeBSD. Having switched from Linux as my main server OS a couple of years ago, I have implemented every single customer server on a FreeBSD base and it has been remarkably stable the whole time. Hence I'd like to use FreeBSD as a Samba server as well.
The Samba basics are simple. Problems appear when you try to make indexed searching available, in the style of Netatalk's spotlight support. There is a single page of not very comprehensive information based on (as it appears on the surface) instructions for Fedora Linux, offering zero information for other platforms: https://wiki.samba.org/index.php/Spotlight
Having tried to replicate the steps on FreeBSD, I couldn't get it to work, even when manually compiling in vfs_fruit and Spotlight support, which are both unavailable as configuration options in the ports tree version of Samba.
The most recent information I was able to find is from the Ports mailing list: https://www.mail-archive.com/freebsd-ports@freebsd.org/msg67346.html This lead me nowhere as well.
So I'm looking for input, pointers, ideas and ideally solutions for this situation. It astounds me most that in 2017 there still appears to be no modern (as in capable of quick indexed search), reliable, cross-platform sharing protocol for file servers, despite Samba being supported by all relevant platforms.