diff options
author | Stefan Metzmacher <metze@samba.org> | 2018-06-13 13:30:33 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2018-06-18 08:59:17 +0200 |
commit | d1c8057997f97c6cd537496611dfae4e8b4af520 (patch) | |
tree | 95bdeddd9a478ac9609460fe284720abd42e1a7e /source3/smbd/process.c | |
parent | b27d885478245d8bd56ab4f5459908b6c574d15d (diff) | |
download | samba-d1c8057997f97c6cd537496611dfae4e8b4af520.tar.gz |
smbd: call chdir_current_service() in change_to_user_internal() and pop_conn_ctx()
change_to_user() should be the one and only function for the whole
impersonation processing. So we also need to stack the
chdir_current_service() behaviour for become_user/unbecome_user,
so we may need to call vfs_ChDir(ctx_p->conn, ctx_p->conn->cwd_fname);
in pop_conn_ctx().
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/smbd/process.c')
0 files changed, 0 insertions, 0 deletions