Skip to content

Commit ca60106

Browse files
committed
fix
1 parent 80e90cd commit ca60106

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SSPI/SSPIContextProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ internal void Initialize(ServerInfo serverInfo, TdsParserStateObject physicalSta
3131

3232
_parameters = new SqlAuthenticationParameters.Builder(
3333
authenticationMethod: parser.Connection.ConnectionOptions.Authentication,
34-
resource: serverName,
34+
resource: null,
3535
authority: null,
36-
serverName: options.DataSource,
36+
serverName: serverName,
3737
databaseName: options.InitialCatalog)
3838
.WithConnectionId(parser.Connection.ClientConnectionId)
3939
.WithConnectionTimeout(options.ConnectTimeout)

0 commit comments

Comments
 (0)