Re: NTLM and pop-up windows

From: Andrew Bartlett <abartlet@dont-contact.us>
Date: 14 May 2003 20:48:31 +1000

On Mon, 2003-05-12 at 19:26, michele.de-martin@electrolux.it wrote:
>
> Here I am.
>
> The only file I changed is "src/auth/ntlm/auth_ntlm.c" where I altered "YR"
> to pass the "NEGOTIATE" data to helper: here is the patch.
>
> --- squid-2.5.STABLE2-20030401/src/auth/ntlm/auth_ntlm.c 2003-02-05
> 00:17:26.000000000 +0100
> +++ squid-2.5.STABLE2-20030401-ntmulti/src/auth/ntlm/auth_ntlm.c
> 2003-05-07 16:05:25.000000000 +0200
> @@ -746,7 +746,7 @@
> helperStatefulSubmit(ntlmauthenticators, NULL,
> authenticateNTLMHandleplaceholder, r, NULL);
> } else {
> /* Server with invalid challenge */
> - snprintf(buf, 8192, "YR\n");
> + snprintf(buf, 8192, "YR %s\n", sent_string);
> helperStatefulSubmit(ntlmauthenticators, buf,
> authenticateNTLMHandleReply, r, ntlm_request->authserver);
> }
> } else {
>
> If I understand well, this change shouldn't affect "wb_ntlmauth".

And as discussed, will be very much appreciated by Samba's ntlm_auth
:-).

If you are trying to avoid using this, look into NTLMSSP's 'datagram'
mode. I'm not sure how to use this on the windows helper side
however...

Andrew,

-- 
Andrew Bartlett                                 abartlet@pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet@samba.org
Student Network Administrator, Hawker College   abartlet@hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net

Received on Wed May 14 2003 - 04:48:50 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:55 MST