s3: smbd: Fix "follow symlink = no" regression part 2.
commit80b8fa02208427f41a6315d331cd0aba01d8647e
authorJeremy Allison <jra@samba.org>
Tue, 28 Mar 2017 00:09:38 +0000 (27 17:09 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 31 Mar 2017 06:18:30 +0000 (31 08:18 +0200)
treebe5558ccee2734e7442df386e992bfb53d266524
parentde57712c46c43cb2940e3ead2a01dcc26c314132
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