s3:mdssvc: add noindex backend
authorRalph Boehme <slow@samba.org>
Wed, 17 Apr 2019 09:00:52 +0000 (11:00 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 8 Aug 2019 20:24:32 +0000 (20:24 +0000)
commitc742ab7a4c78db4101499d15ada1a6635d5cc35b
tree92bc369b1a0a1970abb2daccee2ea1a0973be444
parente5a4114bb563b1ebf8ce7cad2a335bf24dbbdd32
s3:mdssvc: add noindex backend

Add a new default backend that, while allowing mdsvc RPC and search queries from
clients, always returns no results.

Shares using this backend will behave the same way as shares on a macOS SMB
server where indexing is disabled.

This change will later also allow us to compile the Spotlight RPC service by
default which is a big step in the direction of adding tests to CI.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
docs-xml/smbdotconf/misc/spotlight_backend.xml
lib/param/loadparm.c
lib/param/loadparm.h
lib/param/param_table.c
source3/param/loadparm.c
source3/rpc_server/mdssvc/mdssvc.c
source3/rpc_server/mdssvc/mdssvc_noindex.c [new file with mode: 0644]
source3/rpc_server/mdssvc/mdssvc_noindex.h [new file with mode: 0644]
source3/rpc_server/wscript_build
source3/wscript