FirebirdSQL / NETProvider

Firebird ADO.NET Data Provider
https://www.firebirdsql.org/en/net-provider/
Other
152 stars 63 forks source link

Windows Trusted Authentication Exception when it is tried by PC outside domain [DNET837] #772

Open firebird-automations opened 5 years ago

firebird-automations commented 5 years ago

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

firebird-automations commented 5 years ago

Commented by: @luronumen

Maybe this issue is happening because of https://tracker.firebirdsql.org/browse/CORE-5875

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