summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_readonly.c
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2018-07-05 13:09:53 +0200
committerStefan Metzmacher <metze@samba.org>2018-07-25 17:49:06 +0200
commit2dd95c1c38b9e1ce32d3d1081b6ec177910087a4 (patch)
tree8d19e5b3422e3e0d61859a7ffb1a7010f2a33c2a /source3/modules/vfs_readonly.c
parent1251a536df4b1df58d9ddacab03d3ebe6f4e5b60 (diff)
downloadsamba-2dd95c1c38b9e1ce32d3d1081b6ec177910087a4.tar.gz
s3: vfs: add user_vfs_evg to connection_struct
This will be used to in order to pass down the impersonation magic from the SMB layer through the SMB_VFS layer. This includes the following options: smbd:force sync user path safe threadpool smbd:force sync user chdir safe threadpool smbd:force sync root path safe threadpool smbd:force sync root chdir safe threadpool They can be used in order to test the non linux code path on linux, once we get code that makes full use of the new infrastructure. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/modules/vfs_readonly.c')
-rw-r--r--source3/modules/vfs_readonly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_readonly.c b/source3/modules/vfs_readonly.c
index e7e12747a22..37a9e806a15 100644
--- a/source3/modules/vfs_readonly.c
+++ b/source3/modules/vfs_readonly.c
@@ -84,7 +84,7 @@ static int readonly_connect(vfs_handle_struct *handle,
for (i=0; i< VUID_CACHE_SIZE; i++) {
struct vuid_cache_entry *ent = &conn->vuid_cache->array[i];
ent->vuid = UID_FIELD_INVALID;
- TALLOC_FREE(ent->user_ev_ctx);
+ TALLOC_FREE(ent->user_vfs_evg);
TALLOC_FREE(ent->session_info);
ent->read_only = false;
ent->share_access = 0;