summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2019-09-06 14:51:29 -0700
committerRalph Boehme <slow@samba.org>2019-09-11 18:24:28 +0000
commit5e7828faf3b76c82781e8707d7d7ef990224bd7e (patch)
treeaee8387708fb874b5c74a87fc9a7291013a0e401 /examples
parentd9d704b01e21fbc6b05164a5d1fee772f1836fa9 (diff)
downloadsamba-5e7828faf3b76c82781e8707d7d7ef990224bd7e.tar.gz
s3: pysmbd: Ensure conn->cwd_fsp member of created connections is initialized.
This is needed to correctly call the XXXAT() vfs calls. We should probably just use create_conn_struct_tos_cwd() here and pass $cwd instead of using create_conn_struct_tos() and passing "/" as the share root. We wouldn't change the current working directory and the created share root would be set to $cwd but I'm not sure what effects this may have on users of pysmbd in case any of them pass paths above the $cwd to these functions. Less changes to just call vfs_ChDir(conn, &cwd) which doesn't change the current directory and leaves the share root as "/". Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions