[PATCH] smbclient timeout option
Jonathan Galpin
jonathan at iqzero.net
Fri Feb 13 09:32:43 MST 2009
http://www.nabble.com/file/p21999958/client_c.patch client_c.patch
This is now resolved.
With Mark's help, I figured out that the patch file was my problem. His
emailed patch file (above) solved the issue, and my centos 5 box
(> [root at backup1 client]# uname -a
> Linux backup1 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 12:03:43 EST 2008
> i686 i686 i386 GNU/Linux)
took the patch with no errors.
This was the failed patch error:
> 10:49:30 (619 KB/s) - `samba-3.3.0.tar.gz' saved [25942368/25942368]
>
> [root at backup1 ~]# tar xfz samba-3.3.0.tar.gz
> [root at backup1 ~]# cd samba-3.3.0/source/client/
> [root at backup1 client]# patch -p0 < ~/samba-timeout-patch patching file
> client.c Hunk #2 FAILED at 4058.
> Hunk #3 FAILED at 4520.
> Hunk #4 FAILED at 4552.
> Hunk #5 FAILED at 4577.
> Hunk #6 FAILED at 4600.
> Hunk #7 FAILED at 4706.
> 6 out of 7 hunks FAILED -- saving rejects to file client.c.rej
And after:
[root at backup1 client]# patch -p0 < ~/client.c.patch
patching file client.c
[root at backup1 client]#
Many thanks to Mark for his patch and his assistance!
I have to attribute the failed patch to my remoting via remote desktop and
then using putty. I guess copying and pasting over remote desktop etc is the
problem.
--
View this message in context: http://www.nabble.com/-PATCH--smbclient-timeout-option-tp21689774p21999958.html
Sent from the Samba - samba-technical mailing list archive at Nabble.com.
More information about the samba-technical
mailing list