From: Volker Lendecke on
On Sun, Aug 19, 2007 at 07:43:26PM -0400, Francis Giraldeau wrote:
> So, I implemented a truncate function with libsmbclient. I would like to
> know if someone can give me some feedback about the patch, principaly
> about the usage of the smbclient API, to know if the patch is right.

You copy stuff around??? There is a truncate operation in
smb, it's trans2 setfileinfo level 1020
(SMB_FILE_END_OF_FILE_INFORMATION)

Volker