summaryrefslogtreecommitdiffstats
path: root/source4/ntvfs/ipc/vfs_ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ntvfs/ipc/vfs_ipc.c')
-rw-r--r--source4/ntvfs/ipc/vfs_ipc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/ntvfs/ipc/vfs_ipc.c b/source4/ntvfs/ipc/vfs_ipc.c
index cf1d21bf33f..1c02e8fadc8 100644
--- a/source4/ntvfs/ipc/vfs_ipc.c
+++ b/source4/ntvfs/ipc/vfs_ipc.c
@@ -252,6 +252,11 @@ static NTSTATUS ipc_open_generic(struct request_context *req, const char *fname,
*ps = p;
+ /* tell the RPC layer the transport session key */
+ if (req->user_ctx->vuser) {
+ dcesrv_set_session_key(p->dce_conn, req->user_ctx->vuser->session_key);
+ }
+
return NT_STATUS_OK;
}