s3: smbd: Fix "follow symlink = no" regression part 2.
authorJeremy Allison <jra@samba.org>
Tue, 28 Mar 2017 00:09:38 +0000 (17:09 -0700)
committerRalph Boehme <slow@samba.org>
Tue, 28 Mar 2017 11:20:26 +0000 (13:20 +0200)
commite182a4d39e86c9694e255efdf6ee2ea3ccb9af4a
tree542147bf07926484f7ffc6d7112c16ae64aac292
parent83e30cb48859b412b76572b6a3ba84d8fde167af
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>
source3/smbd/vfs.c