summaryrefslogtreecommitdiff
path: root/source3/smbd/service.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-31 14:42:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:36 -0500
commit2852ecc67ebded7758a07d8fb72eef53bfa1c63a (patch)
tree4c69630521ef333be31379e0433fb53fad37919a /source3/smbd/service.c
parentaccbfaa4c3ffe669cc29aac8a85c4144ad234e43 (diff)
downloadsamba-2852ecc67ebded7758a07d8fb72eef53bfa1c63a.tar.gz
samba-2852ecc67ebded7758a07d8fb72eef53bfa1c63a.tar.bz2
samba-2852ecc67ebded7758a07d8fb72eef53bfa1c63a.zip
r21092: Ok, that's the one that activates the Samba4 notify backend.
Now to clean up / fix lots of stuff. Volker (This used to be commit 9e7443fa1417c01be903b15073825dc4def78d99)
Diffstat (limited to 'source3/smbd/service.c')
-rw-r--r--source3/smbd/service.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index b5569c680d..8dbcc2b5ab 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -946,6 +946,13 @@ static connection_struct *make_connection_snum(int snum, user_struct *vuser,
set_conn_connectpath(conn,s);
}
+ if ((!conn->printer) && (!conn->ipc)) {
+ conn->notify_ctx = notify_init(conn->mem_ctx, server_id_self(),
+ smbd_messaging_context(),
+ smbd_event_context(),
+ conn->params);
+ }
+
/* ROOT Activities: */
/* check number of connections */
if (!claim_connection(conn,