vfs_streams_xattr: call SMB_VFS_OPEN with smb_fname_base
authorRalph Boehme <slow@samba.org>
Thu, 1 Dec 2016 10:17:48 +0000 (11:17 +0100)
committerUri Simchoni <uri@samba.org>
Wed, 1 Mar 2017 23:32:20 +0000 (00:32 +0100)
commit8035754c28c1a469de4fac77247ef7e5a1d8b463
tree82cbd1cbb1e933ae0265f9765e01d9503fb717a7
parent73a0768865a1f5e74d50e601641cbac5340f9e2d
vfs_streams_xattr: call SMB_VFS_OPEN with smb_fname_base

In case an SMB_VFS_OPEN() on a stream basename fails with EISDIR, we
retry the open as O_RDONLY. The retry should be done with the
smb_fname_base as well.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12427

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