diff options
author | Ralph Boehme <rb@sernet.de> | 2014-07-31 13:49:49 +0200 |
---|---|---|
committer | Ralph Böhme <slow@samba.org> | 2015-07-07 17:34:28 +0200 |
commit | 25f56f5f4060c912f4fb6a9ef7179829233369bd (patch) | |
tree | 4af59e3da0234c1b720cc9a22b62c30786211fa8 /lib | |
parent | 63dd793cde70a3d3a5bf4144c316b764d687546b (diff) | |
download | samba-25f56f5f4060c912f4fb6a9ef7179829233369bd.tar.gz |
s3-mdssvc: add new option 'spotlight'
Per share option: it reflects whether a share is indexed by Tracker or
not. The global switch that controls whether Spotlight is enabled or
not, are the mdsvc RPC switches.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/param/param_table.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/param/param_table.c b/lib/param/param_table.c index ff310381213..148f79c6df4 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -808,6 +808,14 @@ struct parm_struct parm_table[] = { .enum_list = NULL, }, { + .label = "spotlight", + .type = P_BOOL, + .p_class = P_LOCAL, + .offset = LOCAL_VAR(spotlight), + .special = NULL, + .enum_list = NULL, + }, + { .label = "write ok", .type = P_BOOLREV, .p_class = P_LOCAL, |