git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ef3cb0
)
s3/rpc_server/mdssvc: add attribute "kMDItemContentType"
author
Ralph Boehme
<slow@samba.org>
Tue, 31 Jan 2017 15:09:55 +0000
(16:09 +0100)
committer
Jeremy Allison
<jra@samba.org>
Wed, 15 Feb 2017 05:20:52 +0000
(06:20 +0100)
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12545
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): Wed Feb 15 06:20:52 CET 2017 on sn-devel-144
source3/rpc_server/mdssvc/sparql_mapping.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/mdssvc/sparql_mapping.c
b/source3/rpc_server/mdssvc/sparql_mapping.c
index a3baf099de69133a825ad5ad4ac005908d12f9b0..c71c7a55131101a84190ce51d8ad949c8cf49d05 100644
(file)
--- 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 */
{