From 8a3141023f2e8f5cecd67147b74109f5fbe7ce61 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Tue, 31 Jan 2017 16:09:55 +0100 Subject: [PATCH] s3/rpc_server/mdssvc: add attribute "kMDItemContentType" Bug: https://bugzilla.samba.org/show_bug.cgi?id=12545 Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Wed Feb 15 06:20:52 CET 2017 on sn-devel-144 (cherry picked from commit e08110ece699eeb1b9ef688c92bf84c69a6fa5fc) --- source3/rpc_server/mdssvc/sparql_mapping.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source3/rpc_server/mdssvc/sparql_mapping.c b/source3/rpc_server/mdssvc/sparql_mapping.c index a3baf09..c71c7a5 100644 --- a/source3/rpc_server/mdssvc/sparql_mapping.c +++ b/source3/rpc_server/mdssvc/sparql_mapping.c @@ -133,6 +133,11 @@ const struct sl_attr_map *sl_attr_map_by_spotlight(const char *sl_attr) .type = ssmt_type, .sparql_attr = NULL, }, + { + .spotlight_attr = "kMDItemContentType", + .type = ssmt_type, + .sparql_attr = NULL, + }, /* Image metadata */ { -- 2.9.3