Hi All,
         I've been trying to test ntlm authentication through libntlm, but
I had some problems...
         The ntlm session authentication consists in 4 steps,

- the client issues a negotiate message (type 1 message)
- the server responds a forbidden message, and sends an ntlm challenge
(which will be used to hash the authenticate message) (type 2 message)
- the client sends an authenticate message (type 3 message)
- the server responds ok.

I've tried to connect but there seems to be a problem because my client
always sends the negotiate message, but never receives the challenge
message..

Well, I've been capturing the requests and respond messages,looked trough
the jira tickets and the NTLM standard doc, and there seems to be a problem
in the negotiate message, it's supposed to have an empty body, but axis2c
always sends the body message in the request... I think this may cause the
server not to send the challenge... In
https://issues.apache.org/jira/browse/AXIS2C-1372, there seemed to be a
similar issue with libcurl...

I've looked a lot through the http_sender code but I'm not sure on how to
disable sending the message body... Can anyone help me with this, in order
to make libntlm work?

Also, anyone could make libntlm work and tested it? Damitha?
What is the status on the licensing issue for libtnlm? can it be included
in the repo??

Thanks for everything



On Wed, Oct 24, 2012 at 12:04 AM, Dinesh Weerapurage <xydin...@gmail.com>wrote:

> Hi Alex,
>
>    These posts might be helpful
>
>    http://goo.gl/he2Hq
>
>
> http://damithakumarage.wordpress.com/2011/06/02/ntlm-auth-support-for-axis2c/
>
> thanks,
> Dinesh.
>
> On Tue, Oct 23, 2012 at 12:56 PM, Alex Mantaut 
> <alex.mant...@intraway.com>wrote:
>
>> Hi,
>>    I need to implement a client with NTLM authentication (without a
>> proxy)... I looked into the different alternatives to it in trunk and RC6
>> and I'm not sure on what is the best library to do this...
>>    Can I use libcurl to do this? I looked into the libntlm wrapper code
>> and it seems empty... Can someone provide a simple example of a ntlm client
>> that works with one of those libraries?
>>
>> Thanks for everything
>>
>> --
>> --
>> Mantaut Alex
>> Intraway Corp.
>>
>> +54 (11) 6040-4000
>> MSN: alex.mant...@intraway.com
>>
>> Visit our website at http://www.intraway.com
>> Proud to be an ISO 9001:2008 certified compan
>>
>>
>


-- 
-- 
Mantaut Alex
Intraway Corp.

+54 (11) 6040-4000
MSN: alex.mant...@intraway.com

Visit our website at http://www.intraway.com
Proud to be an ISO 9001:2008 certified company

Reply via email to