vfs_fruit: writing all 0 to AFP_AfpInfo stream
authorRalph Boehme <slow@samba.org>
Thu, 17 Dec 2015 19:08:35 +0000 (20:08 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 21 Dec 2015 22:21:18 +0000 (23:21 +0100)
commite94b17715ea8049df8819b472178170b8e987946
treed7fd35cb0f923288dc3ca08b7ccba389133ce339
parente5588b463ee77aac3b396774e68c10b13a9f6f04
vfs_fruit: writing all 0 to AFP_AfpInfo stream

When writing all 0 to AFP_AfpInfo stream we can remove the underlying
storage object. This beaviour of OS X SMB server was found with a
torture test.

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

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