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()
Modified by: @cincuranet
Link: This issue is related to [CORE5875](https://github.com/FirebirdSQL/firebird/issues?q=CORE5875+in%3Atitle) \[ [CORE5875](https://github.com/FirebirdSQL/firebird/issues?q=CORE5875+in%3Atitle) \]
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