1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3
Ralph Boehme 480695cd72 vfs_fruit: let fruit_pwrite_meta_stream also ftruncate empty FinderInfo
fruit_streaminfo currently filters out the FinderInfo stream is
delete-on-close is set. We set it here internally, but the client may
also set it over SMB. Turns out that the macOS SMB server does NOT
filter out FinderInfo stream with delete-on-close set, so we must change
the way filtering is done in fruit_streaminfo.

Filtering is now done based on the FinderInfo stream being 0-bytes large which
is why I'm adding the ftruncate here.

No idea why the tests that check the filtering passed the commits
leading up to this one, but if you revert this commit after applying the
whole patchset, the "delete AFP_AfpInfo by writing all 0" test will fail.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2018-10-31 21:27:22 +01:00
..
auth lib: Remove gencache.h from proto.h 2018-10-19 18:52:50 +02:00
build source3/build/charset.py: update to handle waf 2.0.4 2018-09-05 06:37:23 +02:00
client s3:lib: Move popt_common_credentials to separate file 2018-09-07 17:26:14 +02:00
exports
groupdb lib: Pass mem_ctx to state_path() 2018-08-17 11:30:11 +02:00
include lib: Remove unused tdb_trans_* functions 2018-10-27 21:24:24 +02:00
intl lib: Pass mem_ctx to lock_path() 2018-08-17 11:30:10 +02:00
lib lib: Remove unused tdb_trans_* functions 2018-10-27 21:24:24 +02:00
libads lib: Remove gencache.h from proto.h 2018-10-19 18:52:50 +02:00
libgpo/gpext libgpo: Fix CID 1438462 Error handling issues (CHECKED_RETURN) 2018-08-22 00:58:41 +02:00
libnet s3:libads: Add net ads leave keep-account option 2018-07-30 07:34:11 +02:00
librpc smbd: Remove "share_mode_entry->lease" 2018-07-27 01:42:31 +02:00
libsmb lib: Remove gencache.h from proto.h 2018-10-19 18:52:50 +02:00
locale pam_winbind: initial Turkish translation 2017-11-15 13:52:05 +01:00
locking leases: Streamline leases_db_key a bit 2018-10-03 04:11:59 +02:00
modules vfs_fruit: let fruit_pwrite_meta_stream also ftruncate empty FinderInfo 2018-10-31 21:27:22 +01:00
nmbd lib: Remove gencache.h from proto.h 2018-10-19 18:52:50 +02:00
param s3:loadparm: reinit_globals in lp_load_with_registry_shares() 2018-09-07 17:26:14 +02:00
passdb lib: Remove gencache.h from proto.h 2018-10-19 18:52:50 +02:00
printing tdb_unpack: Correct "len" arg for "B" format 2018-10-08 22:17:09 +02:00
profile lib: Pass mem_ctx to cache_path() 2018-08-17 14:28:51 +02:00
registry s3:registry: Avoid a double-free in reg_perfcount 2018-10-19 23:11:26 +02:00
rpc_client s3-rpc_client: Advertise Windows 7 client info 2018-09-08 01:43:27 +02:00
rpc_server lib: Remove gencache.h from proto.h 2018-10-19 18:52:50 +02:00
rpcclient s3-rpcclient: Use spoolss_init_spoolss_UserLevel1 in winspool cmds 2018-09-08 01:43:27 +02:00
script s3:utils/smbget fix recursive download with empty source directories 2018-10-26 09:58:07 +02:00
selftest s4:torture: add test for AppleDouble ResourceFork conversion 2018-10-31 21:27:17 +01:00
services srcctl3: Improve debug messages 2018-01-16 02:43:03 +01:00
smbd s3:smbd: remove "0x" string prefix from dev/ino 2018-10-31 21:27:16 +01:00
torture s3:torture: Rename the test file and remove it if it exists 2018-10-27 21:24:23 +02:00
utils s3:utils/smbget fix recursive download with empty source directories 2018-10-26 09:58:07 +02:00
web
winbindd s3:winbind: Check return code of initialize_password_db() 2018-10-29 20:09:25 +01:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript s3/wscript: fix flex detection 2018-09-07 11:37:23 +02:00
wscript_build s3:lib: Rename server_contexts to global_contexts 2018-09-07 17:26:17 +02:00
wscript_configure_system_ncurses source3/wscript_configure_system_ncurses: update to handle waf 2.0.4 2018-09-05 06:37:24 +02:00