Bug 4003 - XP client yields: SMB Signature verification failed on incoming packet!
XP client yields: SMB Signature verification failed on incoming packet!
Product: Samba 3.0
Classification: Unclassified
Component: File Services
x86 Linux
: P3 normal
: none
Assigned To: Jeremy Allison
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2006-08-05 14:50 UTC by Dale
Modified: 2006-08-05 15:06 UTC (History)
0 users

See Also:

log level 10 at time when bad signatures happen (373.57 KB, application/x-gzip)
2006-08-05 14:57 UTC, Dale
no flags Details
smb.conf (8.34 KB, text/plain)
2006-08-05 14:58 UTC, Dale
no flags Details
Patch (454 bytes, patch)
2006-08-05 15:01 UTC, Jeremy Allison
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dale 2006-08-05 14:50:10 UTC
This bug was created at Jeremy Allison's request on the samba mailing
list.  See
http://lists.samba.org/archive/samba/2006-August/123801.html for my
original post.

Brief description: I get BAD SIG errors shortly after an XP client
begins to browse its home share on a Samba 3.0.23a PDC.

Steps to reproduce: log in as a domain user and browse around my home
share with Explorer.  No need to open any files, just walk through
some directories and hover over some files (to get the tool tip with
more information about it).

- I've tested this with two XP SP2 clients, both running under VMware
  Workstation on a FC5/i386 host.  Both clients got the error.
- I get no bad signature errors when using smbclient, and log files
  seem to indicate that smbclient was using signing.
- Samba seems to work fine with the same XP client when "server
  signing = no".

Relevant versions:

Fedora Core 5
kernel-smp-2.6.17-1.2157_FC5 (dual core Intel system, e1000 NIC)
Fedora Directory Server 1.0.2

Windows XP SP2, up-to-date with Windows Update
Running on VMware Workstation 5.5.1 19175, bridged networking
VMware host is FC5, kernel-2.6.17-1.2157_FC5, forcedeth NIC

Complete level 10 log and tcpdump output to follow.
Comment 1 Dale 2006-08-05 14:57:32 UTC
Created attachment 2083 [details]
log level 10 at time when bad signatures happen

PAD is domain, verin is Samba PDC, ordeith is XP SP2 client.  This log starts when I click on the mapped home share drive in Explorer, and ends shortly after XP says the Samba PDC has gone offline.  (6MB attachment had to be compressed so Bugzilla would accept it.)
Comment 2 Dale 2006-08-05 14:58:26 UTC
Created attachment 2084 [details]
Comment 3 Jeremy Allison 2006-08-05 15:01:47 UTC
Created attachment 2085 [details]

Here's the patch. I reproduced it and fixed it here. Will be in 3.0.23b.
Comment 4 Jeremy Allison 2006-08-05 15:06:43 UTC
Patch fixes it here - please re-open if you can reproduce.