diff --git a/pkg/Microsoft.Private.PackageBaseline/packageIndex.json b/pkg/Microsoft.Private.PackageBaseline/packageIndex.json
index 16d71a2749f8..6e1ae8d73971 100644
--- a/pkg/Microsoft.Private.PackageBaseline/packageIndex.json
+++ b/pkg/Microsoft.Private.PackageBaseline/packageIndex.json
@@ -427,9 +427,10 @@
"3.0.0",
"3.1.0",
"3.1.1",
- "3.1.2"
+ "3.1.2",
+ "3.1.3"
],
- "BaselineVersion": "3.1.2",
+ "BaselineVersion": "3.1.3",
"InboxOn": {}
},
"Microsoft.Windows.Compatibility.Shims": {
@@ -1548,9 +1549,10 @@
"4.8.0",
"4.8.1",
"4.8.2",
- "4.8.3"
+ "4.8.3",
+ "4.8.4"
],
- "BaselineVersion": "4.8.3",
+ "BaselineVersion": "4.8.4",
"InboxOn": {
"net461": "4.1.0.0",
"monoandroid10": "Any",
@@ -1574,7 +1576,8 @@
"4.6.1.0": "4.8.0",
"4.6.1.1": "4.8.1",
"4.6.1.2": "4.8.2",
- "4.6.1.3": "4.8.3"
+ "4.6.1.3": "4.8.3",
+ "4.6.1.4": "4.8.4"
}
},
"System.Data.SqlXml": {
diff --git a/pkg/Microsoft.Windows.Compatibility/Microsoft.Windows.Compatibility.pkgproj b/pkg/Microsoft.Windows.Compatibility/Microsoft.Windows.Compatibility.pkgproj
index b64a727a5fd8..bccc0185cee3 100644
--- a/pkg/Microsoft.Windows.Compatibility/Microsoft.Windows.Compatibility.pkgproj
+++ b/pkg/Microsoft.Windows.Compatibility/Microsoft.Windows.Compatibility.pkgproj
@@ -3,8 +3,8 @@
<_PreReleasePackageVersion>$(PackageVersion)
- 3.1.2
- 4.7.0
+ 3.1.3
+ 4.7.1
false
@@ -30,7 +30,7 @@
- 4.8.3
+ 4.8.4
diff --git a/src/System.Data.SqlClient/Directory.Build.props b/src/System.Data.SqlClient/Directory.Build.props
index 6b0d3505dc9e..b49fb7c6fa3b 100644
--- a/src/System.Data.SqlClient/Directory.Build.props
+++ b/src/System.Data.SqlClient/Directory.Build.props
@@ -2,8 +2,8 @@
- 4.8.3
- 4.6.1.3
+ 4.8.4
+ 4.6.1.4
4.6.1.0
diff --git a/src/System.Data.SqlClient/src/Common/Interop/Unix/System.Net.Security.Native/Interop.NetSecurityNative.Extended.cs b/src/System.Data.SqlClient/src/Common/Interop/Unix/System.Net.Security.Native/Interop.NetSecurityNative.Extended.cs
new file mode 100644
index 000000000000..3d8ff8504c57
--- /dev/null
+++ b/src/System.Data.SqlClient/src/Common/Interop/Unix/System.Net.Security.Native/Interop.NetSecurityNative.Extended.cs
@@ -0,0 +1,27 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using System;
+using System.Runtime.InteropServices;
+
+internal static partial class Interop
+{
+ internal static partial class NetSecurityNative
+ {
+ [DllImport(Interop.Libraries.NetSecurityNative, EntryPoint = "NetSecurityNative_EnsureGssInitialized")]
+ private static extern int EnsureGssInitialized();
+
+ // This constructor is added to address the issue with net6 regarding
+ // Shim gss api on Linux to delay loading libgssapi_krb5.so
+ // issue https://github.com/dotnet/SqlClient/issues/1390
+ // dotnet runtime issue https://github.com/dotnet/runtime/pull/55037
+ static NetSecurityNative()
+ {
+ if (Environment.Version.Major >= 6)
+ {
+ EnsureGssInitialized();
+ }
+ }
+ }
+}
diff --git a/src/System.Data.SqlClient/src/System.Data.SqlClient.csproj b/src/System.Data.SqlClient/src/System.Data.SqlClient.csproj
index 3075e102a153..422842551aa6 100644
--- a/src/System.Data.SqlClient/src/System.Data.SqlClient.csproj
+++ b/src/System.Data.SqlClient/src/System.Data.SqlClient.csproj
@@ -480,6 +480,7 @@
Common\Microsoft\Win32\SafeHandles\GssSafeHandles.cs
+
Common\Interop\Unix\System.Net.Security.Native\Interop.NetSecurityNative.cs
diff --git a/src/packages.builds b/src/packages.builds
index 3f200853f23c..20055a2311af 100644
--- a/src/packages.builds
+++ b/src/packages.builds
@@ -16,6 +16,12 @@
$(AdditionalProperties)
+
+ $(AdditionalProperties)
+
+
+ $(AdditionalProperties)
+