[Mono-devel-list] Patches for NT Authentication in SqlClient

Daniel Morgan danielmorgan at verizon.net
Sat Dec 6 14:25:15 EST 2003


I have some patches to support NT Authentication for System.Data.SqlClient
and Mono.Data.Tds.

This requires Mono from cvs around December 2, 2003 or newer.  Mono 0.29 and
earlier is too old.


I big THANK YOU goes to Sebastien Pouliot (spouliot at motus.com) for helping
me the NTLM stuff and for creating the Mono.Security.Protocol.Ntlm

The patches may or may not work for you.

On Windows it does not work for me due to random number generation problems
and p/invoking into the CryptoAPI on Windows.
See bug 50918.


To use the CryptoAPI on Windows, you will need to make a modification to
machine.config to point to Mono.Security.Win32 for RNGCryptoServiceProvider.


Also, the patches above does not always work for SQL Server authentication.


More information about the Mono-devel-list mailing list