NETProvider
NETProvider copied to clipboard
Windows Trusted Authentication Exception when it is tried by PC outside domain [DNET837]
Submitted by: @luronumen
Is related to CORE5875
Inittial Setup - Firebird Server under Windows Active Directory domain (e.g.: CINMOTO) - .NET Client application installed on a PC outside Active directory control (e.g.: Windows 10 Professional without registered on CINMOTO domain) - Client user (PC_NAME\USER_NAME) is on RDB$ADMIN database (e.g.: THUNDERBOY\LURON)
Step to reproduce this issue: - Try to connect to the database without provide password (Windows Trusted Authentication)
Actual Result
System.Exception: InitializeSecurityContext failed em FirebirdSql.Data.Client.Managed.SspiHelper.GetClientSecurity(Byte[] serverToken) em FirebirdSql.Data.Client.Managed.Version11.GdsDatabase.ProcessTrustedAuthResponse(SspiHelper sspiHelper, IResponse& response) em FirebirdSql.Data.Client.Managed.Version11.GdsDatabase.AttachWithTrustedAuth(DatabaseParameterBuffer dpb, String dataSource, Int32 port, String database, Byte[] cryptKey) em FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect() em FirebirdSql.Data.FirebirdClient.FbConnection.Open()
Expected Result - No exception should happen
Commented by: @luronumen
Maybe this issue is happening because of https://tracker.firebirdsql.org/browse/CORE-5875