SMB2 Write truncate

Stefan Metzmacher metze at
Tue Jan 14 17:11:44 UTC 2020

Hi David,

it's good that you work on the smb2 tests, thanks!

But watch out for source4/torture/basic/delaywrite.c, the write time
update handling is one of the most complex topic.
Windows behaves differently depending on the OS version and
protocol and also the cross protocol behavior brings a lot of strange

See and for a lot of work
in progress patches and open questions.

Maybe you want to skip source4/torture/basic/delaywrite.c for now
and do the easy stuff first...


Am 14.01.20 um 16:09 schrieb David Mulder via samba-technical:
> To truncate in SMB2 you can call setinfo on a handle
> Ah, I missed that SET_INFO call. Thanks Jeremy and Ronnie.
> --
> David Mulder
> Labs Software Engineer, Samba
> 1800 Novell Place
> Provo, UT 84606
> (P)+1 801.861.6571
> dmulder at<mailto:dmulder at>
> []<>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the samba-technical mailing list