summaryrefslogtreecommitdiff
path: root/source3/smbd/uid.c
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2019-08-15 15:53:32 +0200
committerJeremy Allison <jra@samba.org>2019-08-16 19:52:32 +0000
commit75f98a19537c4d0791108ebfea82f3f9d4606cb3 (patch)
tree26299301c961c1faa85143e58a31d629e6683e03 /source3/smbd/uid.c
parentb535f78897eb5989666501f9543df478af420ecc (diff)
downloadsamba-75f98a19537c4d0791108ebfea82f3f9d4606cb3.tar.gz
s3: VFS: change connection_struct cwd_fname to cwd_fsp
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/uid.c')
-rw-r--r--source3/smbd/uid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index a4bcb747d37..53c7aa7b798 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -581,7 +581,7 @@ static void pop_conn_ctx(void)
if (current_user.done_chdir && ctx_p->need_chdir) {
int ret;
- ret = vfs_ChDir(ctx_p->conn, ctx_p->conn->cwd_fname);
+ ret = vfs_ChDir(ctx_p->conn, ctx_p->conn->cwd_fsp->fsp_name);
if (ret != 0) {
DBG_ERR("vfs_ChDir() failed!\n");
smb_panic("vfs_ChDir() failed!\n");