diff options
author | Ralph Boehme <slow@samba.org> | 2019-04-17 11:00:52 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-08-08 20:24:32 +0000 |
commit | c742ab7a4c78db4101499d15ada1a6635d5cc35b (patch) | |
tree | 92bc369b1a0a1970abb2daccee2ea1a0973be444 /source3/param/loadparm.c | |
parent | e5a4114bb563b1ebf8ce7cad2a335bf24dbbdd32 (diff) | |
download | samba-c742ab7a4c78db4101499d15ada1a6635d5cc35b.tar.gz |
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>
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r-- | source3/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 31819b3930c..0daac0e44cb 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -247,7 +247,7 @@ static const struct loadparm_service _sDefault = .param_opt = NULL, .smbd_search_ask_sharemode = true, .smbd_getinfo_ask_sharemode = true, - .spotlight_backend = SPOTLIGHT_BACKEND_TRACKER, + .spotlight_backend = SPOTLIGHT_BACKEND_NOINDEX, .dummy = "" }; |