[Samba] Truncate with libsmbclient

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Aug 20 07:52:42 GMT 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20070820/982fe890/attachment.bin


More information about the samba mailing list