Hi all, I would like to use Pharo behind a corporate firewall with a proxy with NTLM authentication. Having read the thread "Proxy with authentication support" (http://lists.gforge.inria.fr/pipermail/pharo-project/2009-May/008717.html) I thought I might try if it works with NTLM. Short version: It doesn't. ;-) Has someone solved that particular problem? Thanks for your support! Cheers, Bernhard Long version: If I do: HTTPSocket httpGet: 'http://www.pieber.com' I get: 'HTTP/1.1 400 Bad Request Cache-Control: no-cache Pragma: no-cache Content-Type: text/html; charset=utf-8 Proxy-Connection: close Connection: close Content-Length: 1251<HTML><HEAD> <TITLE>Invalid username/password</TITLE> </HEAD> <BODY> <FONT face="Helvetica"> <big><strong></strong></big><BR> </FONT> <blockquote> <TABLE border=0 cellPadding=1 width="80%"> <TR><TD> <FONT face="Helvetica"> <big>Invalid username/password (bad_credentials)</big> <BR> <BR> </FONT> </TD></TR> <TR><TD> <FONT face="Helvetica"> <p>Your username or password were sent using an invalid/unrecognized format.</p> <p><i>Please close your browser window.</i></p> <p>Then, either contact technical support, or try again using a different username/password combination.</p> <p><small> There are two possible causes: <ul> <li>Your username or password contains non-ASCII characters, and the ProxySG is not configured to use the same authentication character encoding as is being used by your web browser. <li>Your username or password is too long. (The limits for the username and password are 64 bytes each, after being translated to UTF-8.) </ul> </small></p> </FONT> </TD></TR> <TR><TD> <FONT face="Helvetica"> </FONT> </TD></TR> <TR><TD> <FONT face="Helvetica" SIZE=2> <BR> For assistance, contact your network support team. </FONT> </TD></TR> </TABLE> </blockquote> </FONT> </BODY></HTML> ' _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Hello,
I don't think the HTTPSocket class supports proxies with NTLM authentication. There is an alternative: the CurlPlugin, this plugin wraps the libcrul C library and this library supports NTML authentication, see: http://wiki.squeak.org/squeak/5865 Jan. 2009/5/25 Bernhard Pieber <[hidden email]>
_______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Bernhard Pieber-3
CONTENTS DELETED
The author has deleted this message.
|
I have wrestled with this problem from within java years ago, before a solution existed, the solution that finally evolved was an API in java to talk LDAP, specifically to microsoft active directory servers. Validation and NT user/group information them becomes available regardless of what platform the client is running on.
just an thought towards a very general solution. 2009/5/25 Marco Schmidt <[hidden email]> I'm using Pharo "sometimes" behind a coorperate firewall. The following snippet helps me to setup squeak/pharo for me: _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |