Re: NA - token = fatalf

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Tue, 12 Feb 2013 23:33:29 +0100

tis 2013-02-12 klockan 14:41 -0700 skrev Alex Rousskov:
> Hello,

> Could somebody with better authentication and helper knowledge clarify
> whether the token field is indeed required for Nagotiate ERR and NA
> responses? If not, can we just remove the above quoted fatalf() blob and
> make the following line conditional on the token presence?

Squid-2 negotiate expects

NA<SPACE>blob<SPACE>message<NEWLINE>

but do not require any of them to be present. It accepts

NA<SPACE><NEWLINE>

as valid response.

NTLM is slightly different and do not expect a blob. Simply

NA<SPACE>message<NEWLINE>

where message may be blank.

Regards
Henrik
Received on Tue Feb 12 2013 - 22:33:35 MST

This archive was generated by hypermail 2.2.0 : Wed Feb 13 2013 - 12:00:08 MST