A possible small bug in SPNEGO handling when dealing with NETAPP servers

2020-06-29 Thread Richard Sharpe
|| (*buff_in + toid.length) > end) return (NULL); toid.elements = *buff_in; --- With this change my test program (based on libsmb2) now works against both Windows 2012 and NetApp C-Mode servers. Should I file a bug about this? -- Regards, Richard S

Re: A possible small bug in SPNEGO handling when dealing with NETAPP servers

2020-06-29 Thread Richard Sharpe
On Mon, Jun 29, 2020 at 4:29 PM Greg Hudson wrote: > > On 6/29/20 6:22 PM, Richard Sharpe wrote: > > The code was directly extracting the length from the buffer but (as > > you can see from the capture attached in the Session Setup Response) > > NetApp encodes the lengt