vfs_streams_xattr: check stream type
authorRalph Boehme <slow@samba.org>
Fri, 21 Nov 2014 13:56:08 +0000 (14:56 +0100)
committerJeremy Allison <jra@samba.org>
Sat, 22 Nov 2014 00:07:54 +0000 (01:07 +0100)
commit927290b384bc4f4fd53a1f93d4d27ccc71dd6135
tree487b3222ec4a3f826b52e083e40f5fa14ca3d2d4
parent1076e4e4e2a2b6238116bd860b03a9dcc8a151f8
vfs_streams_xattr: check stream type

Only allow access to the stream type "$DATA". vfs_streams_depot does
this too and it fixes the failing test "smb2.streams.names".

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Nov 22 01:07:54 CET 2014 on sn-devel-104
source3/modules/vfs_streams_xattr.c