[Samba] Truncate with libsmbclient

Francis Giraldeau francis.giraldeau at revolutionlinux.com
Sun Aug 19 23:43:26 GMT 2007


Hi,

I'm working on a bug with fusesmb. This is a file system in user space 
for Linux that uses libsmbclient to present a share like other VFS file 
system.

The truncate operation of fusesmb-0.8.5-1 was not completely implemeted. 
It's necessary for some applications, like OpenOffice, that do this 
operation when saving a file.

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 can see the bug report and the patch here :

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407931

Thanks a lot and have a nice day,

Francis

-- 
Francis Giraldeau, Ing jr.
Revolution Linux Inc.




More information about the samba mailing list