[PATCH] cifs: ignore everything in SPNEGO blob after mechTypes

Steve French smfrench at gmail.com
Sun Mar 17 16:00:27 MDT 2013


On Sun, Mar 17, 2013 at 4:14 PM, Andrew Bartlett <abartlet at samba.org> wrote:
> On Sun, 2013-03-17 at 09:37 -0500, Steve French wrote:
>> The existing code is trying to dump the "principal" from the
>> mechListMic (presumably for debugging) in the SMB negotiate response.
>> In the trace I looked at Samba server set it to "NONE"  - is there a
>> case where we would ever need that?
>
> No, the "principal" should never be used, and isn't even useful for
> debugging as you should just never use it.  It can be set to strange and
> invalid values such as NONE and rfc....should_ignore

Thanks - then it makes more sense to do as Jeff suggested and removing
the extra parsing.


-- 
Thanks,

Steve


More information about the samba-technical mailing list