s3/smbd: in call_trans2qfilepathinfo call lstat when dealing with posix pathnames
authorRalph Boehme <slow@samba.org>
Sun, 11 Sep 2016 13:35:37 +0000 (15:35 +0200)
committerJeremy Allison <jra@samba.org>
Sun, 11 Sep 2016 17:57:26 +0000 (19:57 +0200)
commitb13b3c11054f918f18841186a6efc5dedd2ffd66
tree133a35d9900aa49ff7f520c4022f553b052ab246
parent49c5e4fbceaeab7dcf83edda2020667b194e5545
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.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/trans2.c