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

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


Hello,

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.

http://bugzilla.ximian.com/show_bug.cgi?id=49415

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
namespace.

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.

http://bugzilla.ximian.com/show_bug.cgi?id=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.

http://cvs.hispalinux.es/cgi-bin/cvsweb/~checkout~/mcs/class/Mono.Security.W
in32/README?rev=1.1&content-type=text/plain&cvsroot=mono

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

Daniel





More information about the Mono-devel-list mailing list