s3: smbd: Fix "follow symlink = no" regression part 2.
commit9e81c832f9c90d63569d614edfe655182522abdb
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:32:03 +0000 (31 08:32 +0200)
tree637eb266779caadc29c27369d655f89ec0f43d9d
parent9e2ce6939861e51e5e626426aaf2b7b1075b31bf
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