smbd: refuse_symlink() - do not fail if the file does not exist
authorUri Simchoni <uri@samba.org>
Thu, 2 Mar 2017 06:46:44 +0000 (08:46 +0200)
committerRalph Boehme <slow@samba.org>
Thu, 2 Mar 2017 21:30:23 +0000 (22:30 +0100)
commitabd845082e4d377231129339d713e1b62a88a8a7
tree90b13a06e1008280e5311e0fc4b4fae4646143af
parentf9aaddcdd8f9ea648c9c5ea804f56ee3ff6c4c67
smbd: refuse_symlink() - do not fail if the file does not exist

If the file does not exist, it is not a symlink. Current callers
use this function to see if extended attributes can be set / fetched.
Allow them to try and leave the error code at the discretion of the
VFS.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/trans2.c