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

New property in connection string builder - Trusted authentication [DNET216] #225

Closed
firebird-automations opened this issue Feb 25, 2009 · 5 comments

Comments

@firebird-automations
Copy link

Submitted by: Mercea Paul (m24paul)

Scenario:
I'm authenticated as a simple user in Windows and I get some problems in my app developed on FB2.5 and i need support from admin.
The admin is authenticating and try to connect with his rights...but I don't want to modify the connection string, I want just to set Trusted Authentication to True and this way to avoid userid and password from connection string.

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Why not to just set username and password to empty string?

@firebird-automations
Copy link
Author

Commented by: Mercea Paul (m24paul)

There are some reasons:
1. I don't want to modify the connection string.
2.If I connect with admin(windows admin) and trusted auth I get admin right, without touching connection string! (Verry good for support and administrative tasks in app)
3.If I use Fb Embedded with empty user name I get error message: "Trusted Auth wasn't implemented for Embedded Firebird"
Connecting with trusted auth...don't pass windows user to fb user id. and generate this error!

As you can see in FesDatabase.cs and ExtDatabase.cs and GdsDatabase.cs(Verion 10)
public void AttachWithTrustedAuth(DatabaseParameterBuffer dpb, string dataSource, int port, string database)
{
throw new NotImplementedException("Trusted Auth isn't supported on Embedded Firebird.");
}

Tested on database with ODS Version 11.2 , embedded generate this error!

@firebird-automations
Copy link
Author

Commented by: @cincuranet

This has been discussed in the list. Continue there.

@firebird-automations
Copy link
Author

Commented by: @cincuranet

I asked specifically about this in list and almost no reply at all. If somebody wants, post message into list and later we can reopen this ticket.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Closed [ 6 ]

resolution: Won't Fix [ 2 ]

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