summaryrefslogtreecommitdiff
path: root/source4/ntvfs/ipc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-07-14 12:44:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:36 -0500
commit5779a7da9aecb7329eb47e93000dc8b9de96d9ae (patch)
treefbd35fe57d724e4219adf61f86ffe68a0a9657bf /source4/ntvfs/ipc
parentf607197054436a8195e3d0a695fe31574b418059 (diff)
downloadsamba-5779a7da9aecb7329eb47e93000dc8b9de96d9ae.tar.gz
samba-5779a7da9aecb7329eb47e93000dc8b9de96d9ae.tar.bz2
samba-5779a7da9aecb7329eb47e93000dc8b9de96d9ae.zip
r1499: combine struct user_struct and struct smbsrv_user
to a struct smbsrv_session that the same as cli_session for the client we need a gensec_security pointer there (spnego support will follow) prefix some related functions with smbsrv_ metze (This used to be commit f276378157bb9994c4c91ce46150a510de5c33f8)
Diffstat (limited to 'source4/ntvfs/ipc')
-rw-r--r--source4/ntvfs/ipc/vfs_ipc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/ipc/vfs_ipc.c b/source4/ntvfs/ipc/vfs_ipc.c
index 73b3de314d..2e44b00c6b 100644
--- a/source4/ntvfs/ipc/vfs_ipc.c
+++ b/source4/ntvfs/ipc/vfs_ipc.c
@@ -242,11 +242,11 @@ static NTSTATUS ipc_open_generic(struct smbsrv_request *req, const char *fname,
ep_description.info.smb_pipe = p->pipe_name;
/* tell the RPC layer the session_info */
- if (req->user_ctx->vuser) {
+ if (req->session) {
/* The session info is refcount-increased in the
dcesrv_endpoint_search_connect() function */
- session_info = req->user_ctx->vuser->session_info;
+ session_info = req->session->session_info;
}
status = dcesrv_endpoint_search_connect(&req->smb_conn->dcesrv,