Fixing OSX remote arch detection

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Jan 14 07:53:47 UTC 2016


On Wed, Jan 13, 2016 at 05:43:33PM -0800, Justin Maggard wrote:
> OSX has been getting detected as Vista, for a while now.  Fortunately,
> it appears to advertise a unique protocol list, so we should be able to
> detect it easily.  However, I was having trouble deciphering the cryptic
> method of doing remote arch detection; so I gave up and rewrote it in a
> way that I (and hopefully others) can understand more easily. :-)
> 
> I tested locally on the various platforms I have handy (OSX El Capitan,
> WinNT 4, Win10, Samba/smbclient, and CIFSFS), and did not find any
> regressions.

Does OS/X always start with a SMB1-style negprot? This would fall over
if it eventually starts with just an SMB2 negprot.

Regards, Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de



More information about the samba-technical mailing list