Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
firebird-automations opened this issue Jul 16, 2018 · 4 comments

Comments

@firebird-automations
Copy link

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
Copy link
Author

Commented by: @luronumen

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

@firebird-automations
Copy link
Author

Modified by: @cincuranet

Link: This issue relate to CORE5875 [ CORE5875 ]

@firebird-automations
Copy link
Author

Modified by: @cincuranet

Link: This issue is related to CORE5875 [ CORE5875 ]

@firebird-automations
Copy link
Author

Modified by: @cincuranet

Link: This issue relate to CORE5875 [ CORE5875 ] =>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants