summaryrefslogtreecommitdiff
path: root/source3/smbd/service.c
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/smbd/service.c
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/smbd/service.c')
-rw-r--r--source3/smbd/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index d1148e1bc40..05449672fb7 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -678,7 +678,7 @@ static NTSTATUS make_connection_snum(struct smbXsrv_connection *xconn,
on_err_call_dis_hook = true;
if ((!conn->printer) && (!conn->ipc) &&
- lp_change_notify(conn->params)) {
+ lp_change_notify()) {
if (sconn->notify_ctx == NULL) {
sconn->notify_ctx = notify_init(
sconn, sconn->msg_ctx, sconn->ev_ctx);