Displaying 2 results from an estimated 2 matches for "in_file_attributes".
2017 Dec 06
0
Does Samba 4.3.11 support for opening file with “APPEND” mode?
...ot;). The
API CreateFile is called as CreateFile("append.txt", FILE_APPEND_DATA,
FILE_SHARED_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE |
FILE_FLAG_POSIX_SEMANTICS, NULL).
When I look into Samba source code, in function smbd_smb2_create_send,
the FILE_FLAG_POSIX_SEMANTICS is removed from in_file_attributes. In
function calculate_open_access_flags, FILE_APPEND_DATA is just treated
as FILE_WRITE_DATA.
So I wonder, samba server maybe not support for opening file in append
mode. Is that right?
Many thanks for your guidance in advance.
--
Thanks & Regards,
wei dong
2013 Jan 24
0
64 Bit Build 3.6.11 on AIX 6 with acls enabled dumps core,
..._list = (nil), result = 0x0fffffffffffd850, pinfo =
0x0fffffffffffd840), line 1312 in "vfs.c"
smbd_smb2_create_send(mem_ctx = 0x000000011015b4a0, ev =
0x00000001100ab320, smb2req = 0x000000011015b4a0, in_oplock_level = '\0',
in_impersonation_level = 2, in_desired_access = 1048704, in_file_attributes
= 0, in_share_access = 0, in_create_disposition = 1, in_create_options =
8388609, in_name = "", in_context_blobs = (...)), line 707 in
"smb2_create.c"
smbd_smb2_request_process_create(smb2req = 0x000000011003f0b8), line 229 in
"smb2_create.c"
smbd_smb2_request_dispatch...