On Mon, Aug 26, 2002 at 07:03:07PM +0200, Balazs Scheidler wrote:
viszont nem nehez megoldani, szarmaztass egy osztalyt az AbstractAuthorization nevu osztalybol, ahol valositsd meg a getMethods(), getChallenge() es checkCredentials() fuggvenyeket. A getMethods() mit kellene visszaadjon? egy egyelemu listat. def getMethods(): return ('password',)
Köszi, de valami még nem stimmel: A w3m-el próbálom, beállítva a http_proxy=http://192.168.20.198:8080/. Első körben kéri a nevet, a zorp nem loggol authentikációval kapcsolatban semmit, csak a hiba (jogosan). Utána ha beírom a nevet/jelszót (az ellenőrzés elfogadna mindent, de oda úgy látom el sem jut), jön ez: Aug 27 09:04:56 localhost zorp-test[22948]: (firewall@pilatuscomp.hu/intranet_authhttp:1): Starting proxy instance; client_fd='9', client_address='AF_INET(192.168.20.197:33191)', client_zone='Zone(intranet, 192.168.20.192/29)', client_local='AF_INET(192.168.20.198:8080)' Aug 27 09:04:56 localhost zorp-test[22948]: (firewall@pilatuscomp.hu/intranet_authhttp:1/http): Proxy starting; class='AuthHttp', module='http' Aug 27 09:04:56 localhost zorp-test[22964]: (firewall@pilatuscomp.hu/intranet_authhttp:1/http): User authentication successful; entity='slapic', auth_info='' Aug 27 09:04:56 localhost zorp-test[22964]: (firewall@pilatuscomp.hu/intranet_authhttp:1/http): An error occurred, serving error file; filename='/usr/share/zorp/http/auth.html' Aug 27 09:04:56 localhost zorp-test[22948]: (firewall@pilatuscomp.hu/intranet_authhttp:1/http): Proxy ending; class='AuthHttp', module='http' Aug 27 09:04:56 localhost zorp-test[22948]: (firewall@pilatuscomp.hu/intranet_authhttp:1): client: accounting info; duration='0', sent='251', received='256' Slapic -- Pilatus-Comp Ltd. HUNGARY * The Linux Expert * pilatuscomp@linux.co.hu http://www.linux.co.hu * Phone: +36-1-2481816 * Fax: +36-1-2481817