]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs_fruit: proper VFS-stackable conversion of FinderInfo
authorRalph Boehme <slow@samba.org>
Wed, 15 Nov 2017 15:52:48 +0000 (16:52 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 29 Nov 2017 07:38:06 +0000 (08:38 +0100)
commit1da17204344a99a3bfa289355a996027a21814b8
treee878febcb0ffc13cc1628f5c70e91a87a1e4d401
parent84976cb670847f199598995d48bd9c3f3dd0f035
vfs_fruit: proper VFS-stackable conversion of FinderInfo

This fixes the problem that conversion failed with
fruit:metadata=stream. Before we were calling ad_set() which stores the
metadata in the Netatalk compatible format.

Rewrite to fully go through the VFS by calling SMB_VFS_CREATE_FILE() and
SMB_VFS_PWRITE().

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

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): Wed Nov 29 08:38:06 CET 2017 on sn-devel-144
selftest/knownfail.d/samba3.vfs.fruit
source3/modules/vfs_fruit.c