s3:mdssvc: the open command must work on shares with Spotlight disabled
authorRalph Boehme <slow@samba.org>
Mon, 6 May 2019 12:11:31 +0000 (14:11 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 8 Aug 2019 20:24:33 +0000 (20:24 +0000)
commit63366996879fab5b1729de6d6224ca167bdb05b0
treed7750455f3bf392dbcfa9b46bd54c6da808ac86d
parent520175e2275abfabfdb5a62e192c4936a6c74d35
s3:mdssvc: the open command must work on shares with Spotlight disabled

Move the implementation of this setting down to the actual search query
processing. macOS has no notion of "spotlight = false" at the DCERPC layer and
the open request will always succeed even on all shares.

When later the client issues search requests on such shares, we ensure we use
the noindex backend.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail.d/samba3.rpc
source3/rpc_server/mdssvc/mdssvc.c
source3/rpc_server/mdssvc/srv_mdssvc_nt.c