[Samba] Samba client doesn't work SMB2 with MAC 0S 10.9.5

Tompkins, Michael Michael.Tompkins at xerox.com
Wed Oct 1 12:37:32 MDT 2014

I was able to run samba 4.1.12 without an issue. I have narrowed it down to smbXcli_negprot() where it is failing (as per the wireshark traces ). What I'm trying to figure out now, is if the request I'm making, isn't liked by the MAC, or the response of the MAC is giving me the problem. Putting a breakpoint in gdb of smbclient, was a good suggestion. Thanks. I'm going through the code to look at differences, now...


-----Original Message-----
From: Jeremy Allison [mailto:jra at samba.org] 
Sent: Tuesday, September 30, 2014 5:21 PM
To: Tompkins, Michael
Cc: Ralph Böhme; Jeremy Allison; samba at lists.samba.org; USA Xerox Samba
Subject: Re: [Samba] Samba client doesn't work SMB2 with MAC 0S 10.9.5

On Tue, Sep 30, 2014 at 06:48:37PM +0000, Tompkins, Michael wrote:
> I should have sent the trace for samba 4.0.7 instead of 3.6.5(it was a version before your patches).  I did it first with SMB1 and then with SMB2. So this is a 4.0.7 trace. It fails the Negotiate Protocol Response for SMB2.

Can you run smbclient 4.1.12 under gdb, set a breakpoint on _exit and then get me the full stack backtrace including line numbers.

Looking at this it looks like the smbXcli code doesn't like something about the MacOSX server
SMB2 negprot response to the SMB1 negprot request.

Note I need you to reproduce this with
4.1.12, *not* your back-ported version,
to ensure it's a generic bug in the
4.1.x code and not a problem with
your back port.



More information about the samba mailing list