1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/rpc_server/mdssvc
Ralph Boehme 1dd0cd2f4e mdssvc: fix kMDScopeArray parsing
In macOS Ventura marshalling of kMDScopeArray in the "openQueryWithParams"
request has changed from

  string: kMDScopeArray
  sl_array_t(#1): {
    string: /foo/bar
  }

to:

  string: kMDScopeArray
  sl_array_t(#1): {
    sl_array_t(#1): {
      string: /foo/bar
    }
  }

With this patch we check both encodings. Bug fixed according to user feedback.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15299
RN: Spotlight doesn't work with latest macOS Ventura

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2023-02-02 20:14:36 +00:00
..
dalloc.c mdssvc: Slightly simplify dalloc_size() 2020-10-02 21:30:33 +00:00
dalloc.h s3:mdssvc: mds_dalloc_dump() -> dalloc_dump() 2019-08-08 20:24:31 +00:00
elasticsearch_mappings.json s3:mdssvc: add Elasticsearch backend 2019-10-09 14:35:29 +00:00
es_lexer.l s3:mdssvc: add Elasticsearch backend 2019-10-09 14:35:29 +00:00
es_mapping.c mdssvc: prepare for ignore attribute and type mapping errors 2021-10-14 09:33:38 +00:00
es_mapping.h s3:mdssvc: add Elasticsearch backend 2019-10-09 14:35:29 +00:00
es_parser_test.c s3:mdssvc: make use of lp_parm_const_string() 2019-11-27 10:25:31 +00:00
es_parser.y mdssvc: add options to allow ignoring attribute and type mapping errors 2021-10-14 09:33:38 +00:00
marshalling.c spelling: connnect encrytion exisit expection explicit invalide missmatch paramater paramter partion privilige relase reponse seperate unkown verson authencication progagated 2022-06-10 18:12:33 +00:00
marshalling.h
mdssvc_es.c mdssvc: check if the user closed the query before trying to read the HTTP response from Elasticsearch 2022-08-03 14:00:36 +00:00
mdssvc_es.h s3:mdssvc: add Elasticsearch backend 2019-10-09 14:35:29 +00:00
mdssvc_noindex.c s3:mdssvc: add noindex backend 2019-08-08 20:24:32 +00:00
mdssvc_noindex.h s3:mdssvc: add noindex backend 2019-08-08 20:24:32 +00:00
mdssvc_tracker.c s3:rpc_server/mdssvc: don't crash mdssvc_tracker_shutdown with NULL glue 2023-01-19 19:46:01 +00:00
mdssvc_tracker.h s3-mdssvc: factor out Tracker backend logic 2019-08-08 20:24:31 +00:00
mdssvc.c mdssvc: fix kMDScopeArray parsing 2023-02-02 20:14:36 +00:00
mdssvc.h mdssvc: convert mds_init_ctx() to return NTSTATUS 2022-07-12 14:45:36 +00:00
README
sparql_lexer.l s3:mdssvc: fix flex compilation error 2019-05-28 11:49:06 +00:00
sparql_mapping.c
sparql_mapping.h
sparql_parser_test.c s3-mdssvc: factor out Tracker backend logic 2019-08-08 20:24:31 +00:00
sparql_parser.y s3-mdssvc: factor out Tracker backend logic 2019-08-08 20:24:31 +00:00
srv_mdssvc_nt.c mdssvc: return all-zero policy handle if spotlight is disabled 2022-07-12 15:42:52 +00:00
srv_mdssvc_nt.h
test_mdsparser_es.c selftest: add a test ignored spotlight/elasticsearch mapping failures 2021-10-14 09:33:38 +00:00

Introduction:
=============
This directory contains source code for the metadata search service
aka Spotlight.

Bison and flex:
===============
Not yet integrated into the waf buildsystem, run these by hand:

$ bison -d -o sparql_parser.c sparql_parser.y
$ flex -o sparql_lexer.c sparql_lexer.l

or use the bundled Makefile.