summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-11-21 15:53:53 +0100
committerJeremy Allison <jra@samba.org>2015-07-07 23:51:23 +0200
commite5895c3c37885c3538666bf6cde75881156419cf (patch)
treefa9311bc4346c3e649677e0ef43b1b4d1b054005 /source3/param
parente749174dd8207bd9ffcb950d701e89661f3801e3 (diff)
downloadsamba-e5895c3c37885c3538666bf6cde75881156419cf.tar.gz
param: Make "change notify" global
With a central notifyd, we can't do this per share anymore. Notifyd will only look at absolute paths, not shares. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index af74d68fee5..4228b390ea3 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -239,7 +239,6 @@ static struct loadparm_service sDefault =
.acl_map_full_control = true,
.acl_group_control = false,
.acl_allow_execute_always = false,
- .change_notify = true,
.kernel_change_notify = true,
.allocation_roundup_size = SMB_ROUNDUP_ALLOCATION_SIZE,
.aio_read_size = 0,
@@ -722,6 +721,8 @@ static void init_globals(struct loadparm_context *lp_ctx, bool reinit_globals)
a large number of sites (tridge) */
Globals.hostname_lookups = false;
+ Globals.change_notify = true,
+
string_set(Globals.ctx, &Globals.passdb_backend, "tdbsam");
string_set(Globals.ctx, &Globals.ldap_suffix, "");
string_set(Globals.ctx, &Globals.szLdapMachineSuffix, "");