summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/service.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index e3f8ce6ed5..7b0aa436a6 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -885,7 +885,8 @@ connection_struct *make_connection_snum(struct smbd_server_connection *sconn,
on_err_call_dis_hook = true;
if ((!conn->printer) && (!conn->ipc)) {
- conn->notify_ctx = notify_init(conn, procid_self(),
+ conn->notify_ctx = notify_init(conn,
+ sconn_server_id(sconn),
smbd_messaging_context(),
smbd_event_context(),
conn);