Adjust desired_access to prevent flaky test with OS X SMB server.
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>
(cherry picked from commit
ba00884e8a67420cf8d6c2530a778b9cee6e86b8)
ZERO_STRUCT(io);
io.smb2.in.create_disposition = NTCREATEX_DISP_OPEN;
- io.smb2.in.desired_access = SEC_FILE_READ_ATTRIBUTE |
- SEC_FILE_WRITE_ATTRIBUTE;
+ io.smb2.in.desired_access = SEC_FILE_ALL;
io.smb2.in.fname = rfork;
status = smb2_create(tree, mem_ctx, &(io.smb2));
CHECK_STATUS(status, NT_STATUS_OK);