s3/smbd: in call_trans2qfilepathinfo call lstat when dealing with posix pathnames
commit80e17c7c15413af1b9b0895979bd965d1f5bfa65
authorRalph Boehme <slow@samba.org>
Sun, 11 Sep 2016 13:35:37 +0000 (11 15:35 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 16 Sep 2016 07:00:15 +0000 (16 09:00 +0200)
tree7f470c4a0270e94bc9aa9e7a5c99ed68da8a4aa8
parent44107d9d228617dedabbf0bd0961a82f4e88d078
s3/smbd: in call_trans2qfilepathinfo call lstat when dealing with posix pathnames

This might be an info level SMB_INFO_QUERY_ALL_EAS which is not covered
by INFO_LEVEL_IS_UNIX(). If smb_fname is a symlink we would then stat it
in POSIX context.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12256

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