Spotlight support

Jeremy Allison jra at
Wed Apr 16 15:31:44 MDT 2014

On Thu, Apr 10, 2014 at 01:42:48PM +0200, Ralph Böhme wrote:
> Hi!
> For all interested in Samba supporting Spotlight for OS X clients:
> <>
> is already working as far as correctly replying to queries from
> clients. \o/
> Samba acts as a proxy fowarding search queries to Gnome Tracker after
> mapping Apple's Spotlight query language to SPARQL.
> IPC between Samba and the Tracker store is done via dbus in the
> relevant tracker library (libtracker-sparql). As all but the very
> latest Tracker version register services in DBUS user context, I have
> to use a bit of a hack in order to
> - run Tracker in root DBUS user context
> - pair every call to tracker in Samba within
>   become_root()/unbecome_root()
> Latest Tracker 1.0 adds support for registering Tracker in DBUS system
> context, which will allow for a cleaner integration in the future.
> Usage:
> - install tracker and libtracker-sparql-dev (or whatever it's called
>   on your system)
> - use a script like the following for starting Samba and a "private"
>   dbus instance: <>
> - install a dbus-session.conf file in the location referenced in the
>   start script and adust path in listen directive:
>   <>
> - configure samba with --enable-spotlight
> Comments welcome :-)

So I'd love to see you finish this up and send
it as a patchset to samba-technical for formal

I think there are a lot of people who'd love to
see this working.



More information about the samba-technical mailing list