npgsql - Npgsql2: Fixed problems with SSPI authentication when the
Log Message:
-----------
Fixed problems with SSPI authentication when the password had some non ascii characteres.
Also, Npgsql supports to authenticate with an user name other than the current logged one.
Thanks Ahmed Shinwari for tests and patch.
See http://postgresql.1045698.n5.nabble.com/quot-could-not-accept-SSPI-security-context-quot-td3275102.html and http://lists.pgfoundry.org/pipermail/npgsql-devel/2011-February/001116.html for more info.
Modified Files:
--------------
Npgsql2/src/Npgsql:
NpgsqlConnection.cs (r1.30 -> r1.31)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlConnection.cs?r1=1.30&r2=1.31)
NpgsqlConnectionStringBuilder.cs (r1.13 -> r1.14)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlConnectionStringBuilder.cs?r1=1.13&r2=1.14)
NpgsqlConnector.cs (r1.31 -> r1.32)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlConnector.cs?r1=1.31&r2=1.32)
NpgsqlPasswordPacket.cs (r1.5 -> r1.6)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlPasswordPacket.cs?r1=1.5&r2=1.6)
NpgsqlStartupState.cs (r1.5 -> r1.6)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlStartupState.cs?r1=1.5&r2=1.6)
NpgsqlState.cs (r1.21 -> r1.22)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlState.cs?r1=1.21&r2=1.22)
PGUtil.cs (r1.14 -> r1.15)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/PGUtil.cs?r1=1.14&r2=1.15)
SSPIHandler.cs (r1.2 -> r1.3)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/SSPIHandler.cs?r1=1.2&r2=1.3)