summaryrefslogtreecommitdiff
path: root/source3/rpc_server/mdssvc/mdssvc.c
Commit message (Collapse)AuthorAgeFilesLines
* s3: Rename server_event_context() to global_event_context()Christof Schmitt2018-09-071-3/+3
| | | | | | | | | | | This reflects that the event context is also used outside of the server processes. The command used for the rename: find . -name '*.[hc]' -print0 | xargs -0 sed -i 's/server_event_context/global_event_context/' Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* s3/rpc_server: Character Encode Spotlight QueriesRalph Boehme2018-07-101-3/+13
| | | | | | | | | | | | | | | | Fix path escaping in Spotlight so paths with spaces or special characters can be properly matched to tracker paths. Bug: https://bugzilla.samba.org/show_bug.cgi?id=12688 Based-on-a-patch-from: Mike M Pestorich <mmpestorich@gmail.com> (similar to github.com/netatalk/netatalk/commit/90aa43d) Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Jul 10 23:17:20 CEST 2018 on sn-devel-144
* Correct "errror" typos.Chris Lamb2017-02-221-1/+1
| | | | | | Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* s3/rpc_server/mdssvc: Generate flex/bison files in buildNoel Power2017-01-281-1/+1
| | | | | | | | | | | | | | | Build the generated files at build time instead of using a committed version generated at some point in the past. Bug: https://bugzilla.samba.org/show_bug.cgi?id=12528 Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Sat Jan 28 13:26:01 CET 2017 on sn-devel-144
* s3:mdssvc: older glib2 versions require g_type_init()Ralph Boehme2016-03-181-1/+4
| | | | | | | | | | | | | | | Older glib2 versions will crash if g_type_init is not called: (process:6712): GLib-GObject-CRITICAL **: ... ./gobject/gtype.c:2722: You forgot to call g_type_init() Bug: https://bugzilla.samba.org/show_bug.cgi?id=11801 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Mar 18 03:52:55 CET 2016 on sn-devel-144
* rpc_server: Fix CID 1311342 Null pointer dereferences (REVERSE_INULL)Volker Lendecke2015-07-101-3/+1
| | | | | | | | | | elem was dereferenced already a few lines above Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Fri Jul 10 01:01:36 CEST 2015 on sn-devel-104
* rpc_server: Fix CID 1311340 Null pointer dereferences (NULL_RETURNS)Volker Lendecke2015-07-091-0/+3
| | | | | | | In practice this might not be relevant, but better be safe. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* rpc_server: Fix CID 1311339 Error handling issues (CHECKED_RETURN)Volker Lendecke2015-07-091-1/+4
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* s3-mdssvc: lexer and parser for Spotlight queriesRalph Boehme2015-07-071-6/+19
| | | | | | | | Add a lexer and parser for translating Spotlight query strings to SPARQL. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3-mdssvc: main Spotlight codeRalph Boehme2015-07-071-2/+2041
| | | | | | | | | | | Implement all Spotlight RPC commands with the Tracker SPARQL async query API. Tracker uses glib for implemeting async tasks, we thus have to use a glib mainloop for processing sheduled tasks in threads. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3-mdssvc: add Spotlight RPC stubsRalph Boehme2015-07-071-0/+31
'mdssvc' aka 'Metadata Search Service' is an RPC service used by Apple for passing marshalled Spotlight search queries and results between client to server. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>