Bug in smbtar

Simon Hyde shyde at poboxes.com
Sat Oct 18 20:12:40 GMT 1997


I noticed this bug when I first started using smbtar (samba 1.9.17p1)
however I assumed that it would have been noticed and fixed by the next
release. It is as follows:
If you specify a blocksize with the -b blocksize parameter to smbtar then
you get an error back from smbclient, complaining about specifying the
blocksize after the b parmater to -T, the following simple change seems to
solve the problem:
--- smbtar	Sat Oct 18 18:48:10 1997
+++ smbtar.old	Sat Oct 18 18:47:35 1997
@@ -88,7 +88,7 @@
       server="$OPTARG"
       ;;
    b) # specify [b]locksize
-      blocksize="$OPTARG"
+      blocksize="blocksize $OPTARG"
       case "$OPTARG" in
 	[0-9]*) ;;
 	*)      echo >&2 "$0: Error, block size not numeric: -b $OPTARG


I don't think i've missed anything stupid


More information about the samba mailing list