rpcrt4: Implemented NTLM authentication for rpcrt4 connections.

Kai Blin blin at gmx.net
Mon May 15 16:40:21 CDT 2006


* Mike McCormack <mike at codeweavers.com> [15/05/06, 23:04:25]:

> +  r = AcquireCredentialsHandleA(NULL, "NTLM", SECPKG_CRED_OUTBOUND, NULL,
> +                                AuthIdentity, NULL, NULL, &bind->cred, &bind->exp);

Sweet. Glad to see that code in use. :)
  
  
> +  /* tack on a negotiate packet */
> +  RPCRT4_AuthNegotiate(Connection, &out);
> +  r = RPCRT4_SendAuth(Connection, Header, Buffer, BufferLength, out.pvBuffer, out.cbBuffer);
> +  HeapFree(GetProcessHeap(), 0, out.pvBuffer);
 
Should that actually be a Negotiate packet?
If it should, I can add Negotiate to the set of patches I sent Rob.

Cheers,
Kai

-- 
Kai Blin, (blin at gmx dot net)
Your wig steers the gig.
		-- Lord Buckley



More information about the wine-devel mailing list