Created attachment 8539 [details]
log.smbd, smb.conf, smb2.pcapng
Server: Ubuntu Quantal with Samba 3.6.6 (package 2:3.6.6-3ubuntu5)
Client: Windows 7 Professional 64 bit
Attached: smb2err.tar.gz (wireshark capture, smb.conf, level 4 log.smbd)
Samba config contains 'max protocol = SMB2'
The Win7 client sends a SessionSetup Request containing security mode 0x01 (signing enabled, not required).
After successfully authenticating the user, the samba server disconnects with a log entry:
Wrong session key length 0 for SMB2 signing
I tried disabling signing at the client (HKLM\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Parameters\EnableSecuritySignature = 0, and using the group policy editor to disable signing for clients of MS-networks), but that didn't help
Is this a Windows or Samba bug?