Issue Details (XML | Word | Printable)

Key: DNET-837
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Jiri Cincura
Reporter: Luciano Mendes
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
.NET Data provider

Windows Trusted Authentication Exception when it is tried by PC outside domain

Created: 16/Jul/18 01:04 PM   Updated: 16/Jul/18 02:10 PM
Component/s: ADO.NET Provider
Affects Version/s: 6.0.0.0
Fix Version/s: None

Issue Links:
Relate
 


 Description  « Hide
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

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Luciano Mendes added a comment - 16/Jul/18 01:30 PM
Maybe this issue is happening because of https://tracker.firebirdsql.org/browse/CORE-5875