Hi all,

This is an update to a previous topic. I was having trouble using SMB to
back up locked files that were larger than 2GB. The backup would fail with
the message "Unexpected end of tar archive", and there were all these weird
foreign characters in the backup log.

Craig kindly pointed out the coding changes that were necessary to fix the
bug in smbclient (which is a part of Samba). I've filed a bug with the Samba
guys (https://bugzilla.samba.org/show_bug.cgi?id=3592)

I have tested the solution and it does indeed work. Here is the patch
applied to clitar.c:

561c561
< static int padit(char *buf, int bufsize, int padsize)
---
> static int padit(char *buf, int bufsize, SMB_BIG_UINT padsize)


Second, if anyone wants the package for Debian Sarge that I compiled, it is
available here at present:
http://s35.yousendit.com/d.aspx?id=2UXCHHUN6A33E0KYUBIGELML0T
After this link expires, email me and I'll be happy to send it to you
directly.

If you do install this package, you'll want to set smbclient to "hold" so
that it doesn't get upgraded by accident in future:
# echo "smbclient hold"|dpkg --set-selections

Thanks, Craig, for your help in resolving this one, as well as for a great
piece of software. My backups are working perfectly now, and I don't need
ANY client-side software to make this happen!

Justin Best
503.906.7611 Voice
561.828.0496 Fax



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to