s3: smbd: Fix "follow symlink = no" regression part 2.
commit30aa17dc27f552b0f0f48b53d8897a42dad30091
authorJeremy Allison <jra@samba.org>
Tue, 28 Mar 2017 00:09:38 +0000 (27 17:09 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 30 Mar 2017 06:33:11 +0000 (30 08:33 +0200)
treeae63fe76e9d7e9e405ee0f707acaa62f40162164
parent3f526546179d4670bace181d0991a8bbb4999dae
s3: smbd: Fix "follow symlink = no" regression part 2.

Use the cwd_name parameter to reconstruct the original
client name for symlink testing.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12721

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit e182a4d39e86c9694e255efdf6ee2ea3ccb9af4a)
source3/smbd/vfs.c