View Single Post
Old 06-14-2011, 09:17 AM   #18
barena
Junior Member
barena began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2011
Device: kindle 3
Data Fetch Through ISA Server Proxy...working

Hi
I found a possible solution to the problem of lack of authentication by the proxy isa server, which prevents calibre on my Windows 7 wks in a corporate network, to download news from the Internet.
It 's a bit complicated, but I just tried it and I just worked the first time, and calibre was successfully downloaded feeds.
It is using a Python script called NTLM Authorization Proxy Server (http://ntlmaps.sourceforge.net).
To run the script, on Windows systems you must install the Python interpreter 2.6.4.
Once started, NTLMAPS comes between the Client (calibre) and the Proxy Server, ISA Server pretending to communicate with the Internet Explorer through changes on the fly of the request headers sent by the Client Proxy.
Before launching NTLMAPS, you need to change some parameters in the configuration file (server.cfg). The main parameters to be changed are these:

PARENT_PROXY: IP address Proxy
PARENT_PROXY_PORT: 8080
NT_DOMAIN: domain_name
USER: User_Name
Password:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

NTLMAPS listens by default on port 5865.

After NTLMAPS up and running, for calibre you must set the variable http_proxy (set http_proxy = http://127.0.0.1:5865).

At this calibre can normally make the downloading of any work recipe.

Best wishes and greetings to all


Quote:
Originally Posted by barena View Post
Hi
sorry but getting news with calibre recipe (vers.0.7.59 on WIN 7) I always get proxy authentication error "HTTP Error 407: Proxy Authentication Required" (ISA server) from my pc on a large windows network.......
greetings
barena
barena is offline   Reply With Quote