From 146938217ed1ab9a7a9f38c055fec5513cbd5c4d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 22 Mar 2018 10:54:41 +0100 Subject: smbd: add smbd_server_connection->{root,guest}_ev_ctx pointer For now these are just the same as smbd_server_connection->ev_ctx, but this will change in future and we'll use impersonation wrappers. Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- source3/smbd/process.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/smbd/process.c') diff --git a/source3/smbd/process.c b/source3/smbd/process.c index dbcf13187cf..2363eb78ea5 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -3925,6 +3925,8 @@ void smbd_process(struct tevent_context *ev_ctx, sconn->ev_ctx = ev_ctx; sconn->raw_ev_ctx = ev_ctx; + sconn->root_ev_ctx = ev_ctx; + sconn->guest_ev_ctx = ev_ctx; sconn->msg_ctx = msg_ctx; ret = pthreadpool_tevent_init(sconn, lp_aio_max_threads(), -- cgit v1.2.1