Active Topics

 



Notices


Reply
Thread Tools
Posts: 82 | Thanked: 10 times | Joined on Mar 2010
#1
Can anybody please port ntlmaps to the N900?

For the information:
(http://ntlmaps.sourceforge.net/)
WHAT IS 'NTLM Authorization Proxy Server'?
'NTLM Authorization Proxy Server' (APS) is a proxy software that allows you to authenticate via an MS Proxy Server using the proprietary NTLM protocol. Since version 0.9.5 APS has an ability to behave as a standalone proxy server and authenticate http clients at web servers using NTLM method. It can change arbitrary values in your client's request header so that those requests will look like they were created by MS IE. It is written in Python v1.5.2 language
So this daemon (running as python scripts) does the authentication part to the proxy because most Maemo 5 applications don't support proxy authentication. It listens to 127.0.0.1 at a certain port and is connected to whenever authentication is required.

I use ntlmaps on ubuntu on my laptop, I also tried it on easy debian on N900 and it worked fine, but I would prefer if it was run natively.

So if anyone can port ntlmaps, that'd be amazing.

Thank you for reading.

Chadi.
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#2
If it's written in Python I can't see why it fails on the N900.
 

The Following User Says Thank You to MohammadAG For This Useful Post:
Posts: 82 | Thanked: 10 times | Joined on Mar 2010
#3
I didn't say it failed, I just don't know how to build applications for this phone :/
 
Posts: 96 | Thanked: 80 times | Joined on May 2010
#4
There is no building required as it's pure python. Just download the .deb from a debian repository (eg here: http://ftp.us.debian.org/debian/pool...0.1-11_all.deb) and install it with dpkg. The dependencies are all in the maemo repositories.

You will have a problem shutting down the daemon because busybox doesn't like 'pidof -x' but you can either manually shut it down with pkill or (no doubt) patch /etc/init.d/ntlmaps.

However, and maybe this is where you can help me, ntlmaps doesn't authenticate properly with the upstream proxy for me. Neither under easy debian file nor under native maemo. I've played around with the configuration until I have a headache but nothing seems to work. If I enter the username and password in the proxy description (ie (http_proxy=http://user***@127.0.0.1:8080) then it works fine. But if I rely on ntlmaps to do the upstream authentication (which is the whole reason I am using it) then it fails. The log files give me no clue except that the upstream proxy is returning ERR_AUTH_FAILED.
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:08.