Re: ntlm authentication
Dmitry Kurochkin <dmitry.kurochkin-LbpN3Auhdh+Rtz+nHKFJDvXmoG9oyoYx@public.gmane.org> Tue, 04 Oct 2011 03:24:33 +0400
| Newsgroups | gmane.comp.web.web-polygraph.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Sarah. On Mon, 3 Oct 2011 15:02:03 -0400, Sarah Milani <[email protected]> wrote: > Hi ^^ > I need implemment ntlm authetication...but i get this message error on > console: > > 000.10| Xaction.cc:109: error: 1024/1024 (c94) proxy authentication without > authenticate headers > 1317663887.910116# obj: > http://192.168.7.20:3128/w1828aa3b.10f71152:00000008/t03/_0000000f.jpegflags: > rpt,basic,GET,chb, size: 0/4180 xact: 1828aa3b.10f71152:000004f8 > HTTP/1.0 407 Proxy Authentication Required > Server: squid > Mime-Version: 1.0 > Date: Mon, 03 Oct 2011 18:39:34 GMT > Content-Type: text/html > Content-Length: 3865 > X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0 > X-Cache: MISS from host.teste.mt.br > Via: x (squid) > Connection: close > > > At my workload file i set: > > > Robot R = { > kind = "R101"; > pop_model = { pop_distr = popUnif(); }; > recurrence = 75% / cntImage.cachable; // > req_rate = 20/sec; > credentials = [ "TESTE/sarah:secret"]; > origins = S.addresses; // where the origin servers are > addresses = ['192.168.1.1' ** 5 ]; // use clone operator > }; > > Where TESTE is my domain, sarah (user) : secret (password)... > > > But. didn't pass. =/ > > Any sugestion? > First of all, NTLM and Negotiate authentication requires client-side persistent connections so make sure they are enabled in your tests. See Agent::pconn_use_lmt and related options for PGL knobs [1]. As for the error, it means that the proxy requested authentication (407 status code), but did not sent a Proxy-Authenticate header. You can see that in the proxy reply headers dump above. It may happen because persistent connections are not enabled. So I suggest you to fix that first. If it does not help, you need to look at the proxy configuration. Regards, Dmitry [1] http://www.web-polygraph.org/docs/reference/pgl/types.html#type:docs/reference/pgl/types/Agent > > > > -- > Atenciosamente, > > Sarah Milani > > "Tú te tornas eternamente responsável por aquilo que clicas" _______________________________________________ Users mailing list [email protected] http://www.web-polygraph.org/mailman/listinfo/users