smbd: call set_current_case_sensitive() before change_to_user() in switch_message()
authorStefan Metzmacher <metze@samba.org>
Thu, 14 Jun 2018 09:15:10 +0000 (11:15 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Jun 2018 06:59:16 +0000 (08:59 +0200)
commitffe1918e8153f5bf429e3d9ebed975c6127f1553
tree3d1c4bf7efa3859fc695fe7ed599e819a5964cd4
parent0186ff23246cd5332729a80118d87d6a47488259
smbd: call set_current_case_sensitive() before change_to_user() in switch_message()

change_to_user() will soon call chdir_current_service() and we should
make sure conn->case_sensitive is prepared before calling vfs_ChDir().

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/process.c