When using the vfs_time_audit module FSCTL_SRV_REQUEST_RESUME_KEY requests are failing with NT_STATUS_INTERNAL_ERROR. The defect can be easily reproduced via the smbtorture test case smb2.ioctl.req_resume_key: Using seed 1533822459 time: 2018-08-09 15:47:39.669901 test: req_resume_key time: 2018-08-09 15:47:39.670594 time: 2018-08-09 15:47:39.712858 failure: req_resume_key [ ../source4/torture/smb2/ioctl.c:104: status was NT_STATUS_INTERNAL_ERROR, expected NT_STATUS_OK: FSCTL_SRV_REQUEST_RESUME_KEY ] A similar failure can be seen by using vfs_fruit and vfs_time_audit when running vfs.fruit.copyfile: Using seed 1533822525 time: 2018-08-09 15:48:45.461933 test: copyfile time: 2018-08-09 15:48:45.464498 WARNING!: ../source4/torture/vfs/fruit.c:2482: status was NT_STATUS_NO_MEMORY, expected NT_STATUS_OK: FSCTL_SRV_REQUEST_RESUME_KEY time: 2018-08-09 15:48:45.548604 failure: copyfile [ ../source4/torture/vfs/fruit.c:2637: setup copy chunk error ] Backports are required for 4.7, 4.8, and 4.9.
Proposed fix: https://lists.samba.org/archive/samba-technical/2018-August/129648.html
Created attachment 14416 [details] patches for 4.9
Created attachment 14417 [details] patches for 4.8
Christof, set me to be the reviewer and I'll happily +1 them !
Created attachment 14420 [details] patches for 4.7
(In reply to Jeremy Allison from comment #4) I did not have enough time earlier for testing the 4.7 backport, but here it is now. Happy reviewing ;-)
Re-assigning to Karolin for inclusion in 4.7.next, 4.8.next, 4.9.next.
(In reply to Jeremy Allison from comment #7) Pushed to autobuild-v4-{9,8,7}-test.
(In reply to Karolin Seeger from comment #8) Pushed to all branches. Closing out bug report. Thanks!