Return-Path: Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 48745 invoked from network); 24 Apr 2003 19:24:04 -0000 Received: from unknown (HELO urania.tco.net.br) (200.220.254.132) by daedalus.apache.org with SMTP; 24 Apr 2003 19:24:04 -0000 Received: from cabaksede01.tco.net.br ([10.40.14.150]) by urania.tco.net.br (8.11.6/8.11.6) with ESMTP id h3OJNvQ07760; Thu, 24 Apr 2003 16:23:57 -0300 Received: by ca.tco.net.br with Internet Mail Service (5.5.2650.21) id ; Thu, 24 Apr 2003 16:19:02 -0300 Message-ID: <7786E5C72B85D511BAA100065B1951B00242A871@ca.tco.net.br> From: =?iso-8859-1?Q?Andr=E9_Augusto_de_Oliveira_Arag=E3o?= To: "'Commons HttpClient Project'" , commons-user@jakarta.apache.org Subject: RE: NTLM authentication Date: Thu, 24 Apr 2003 16:19:01 -0300 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N HI! I=B4m using it. It had a bug, but in the most recent nightly snapshot, = it=B4s corrected.=20 The arguments in the NTCredentials constructor are: userName - the userid. password - the password. host - For me, it works with the wins name of the host that is making = the connection. I did not test if using the dns or ip works. I think it = depends on your server (the server you=B4re trying to reach) configuration. domain - the actual NT Domain. Hope that helps, Andre -----Original Message----- From: Richard Becke [mailto:richard@disputable.org] Sent: quinta-feira, 24 de abril de 2003 04:32 To: commons-user@jakarta.apache.org Cc: commons-httpclient-dev@jakarta.apache.org Subject: NTLM authentication I am using HTTPClient 2.0 alpha 3 on AIX 4.3.3 / IBM JDK 1.3.1 with IBM JCE / JSSE. Has anyone actually made NTLM authentication work ? I can't figure it = out. Using Luigi Dragone's NTLM auth API (http://www.luigidragone.com/networking/ntlm.html), everything works = fine, so I know that the credentials and cryptographic providers are OK. The documentation for NTCredentials, as well as the example / test code seems a bit lacking. Is the "userName" constructor argument supposed to = be "\" or just userid ? And the "host" argument; is = this the DNS name, WINS name, and with / without the domain part ? Sorry for the cross posting, I know this belongs in the user list, but = I feel the lacking documentation is also a bug. --=20 /* =AE=DF */ --------------------------------------------------------------------- To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org