Hi,
At 18:26 30/12/2007, Hamid Choupani wrote:
Dear sir,
My scenario is below:
1) I want implement NTLM authentication in windows platform(2003)
2) for this I'm using your squid ntlm source code.
3) But this dosen't work true.
Right now I have some question:
1) In LoadSecurityDll() function which parameters should I use,
(Client send me Authorization: Negotiate ...... info in challenge step)?
2) Should I make challenge with this function( obtain_challenge() )
or no (I can generate it) ?
3) After then should I call SSP_ValidateNTLMCredentials() function?
The authentication based on SSPI is a multi step process, you should
read this documentation about NTLM:
http://davenport.sourceforge.net/ntlm.html
http://msdn2.microsoft.com/en-us/library/aa380535(VS.85).aspx
And look also into lib/sspwin32.c, mswin_auth.c and negotiate_auth.c.
Regards
Guido
-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/