SMB2 Write truncate

David Mulder dmulder at suse.com
Tue Jan 14 15:09:25 UTC 2020


To truncate in SMB2 you can call setinfo on a handle
with SMB_FILE_END_OF_FILE_INFORMATION.

Ah, I missed that SET_INFO call. Thanks Jeremy and Ronnie.

--

David Mulder
Labs Software Engineer, Samba
SUSE
1800 Novell Place
Provo, UT 84606
(P)+1 801.861.6571
dmulder at suse.com<mailto:dmulder at suse.com>
[https://www.suse.com/email/img/2016/email_signature_suse.png]<http://www.suse.com/>


More information about the samba-technical mailing list