Inconsistencies/bug with SMB signatures during smbclient tar operation

Jeremy Allison jra at samba.org
Fri Jan 16 06:43:33 GMT 2004


On Thu, Jan 15, 2004 at 04:38:16PM -0600, Fran Fabrizio wrote:
> 
> I have tried this with all four security modes that you see there, with
> client use spnego set to both 'yes' and 'no', with the -k Kerberos flag
> to smbclient and without.  Each time I've witnessed the same result that
> I am about to describe.  
> 
> The command I am attempting to run is:
> 
> smbclient \\\\snapper\\dfs <password> -U Administrator -E -W CISWINNET
> -D WINDOWS -d0 -Tqca /tmp/test.tar
> 
> When I run this command, the operation proceeds normally for 2-3
> minutes, at which time it fails (in the first case below it fails at
> time 2m3.443s) in the following manner:
> 
> [2004/01/15 16:30:09, 0] libsmb/clientgen.c:cli_receive_smb(121)
>   SMB Signature verification failed on incoming packet!
> [2004/01/15 16:30:09, 0] client/clitar.c:do_atar(698)
>   Error reading file
> \home\faculty\bryant\bryantback-brblt\Images\a2family2\100msdcf\Dsc00082.jpg : Server packet had invalid SMB signature!
> [2004/01/15 16:30:09, 0] client/clitar.c:do_atar(733)
>   Didn't get entire file. size=536462, nread=262080
> [2004/01/15 16:30:09, 0] client/clitar.c:do_atar(654)
>   Server packet had invalid SMB signature! opening remote file
> \home\faculty\bryant\bryantback-brblt\Images\a2family2\100msdcf\D
> (\home\faculty\bryant\bryantback-brblt\Images\a2family2\100msdcf\)
> [2004/01/15 16:30:09, 0] client/clitar.c:do_atar(654)
>   Server packet had invalid SMB signature! opening remote file
> \home\faculty\bryant\bryantback-brblt\Images\a2family2\100msdcf\D
> (\home\faculty\bryant\bryantback-brblt\Images\a2family2\100msdcf\)
> [snip]

I'd be interested in seeing a debug level 10 from the client doing
this. It would be good to know if it's a mismatched sequence number
or some other issue. How far into the tar does this fail ?

Jeremy.


More information about the samba-technical mailing list