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

Trusted Authentication is not working with the Services API [CORE1922] #2356

Closed
firebird-issue-importer opened this issue Jun 4, 2008 · 5 comments

Comments

@firebird-issue-importer
Copy link

@firebird-issue-importer firebird-issue-importer commented Jun 4, 2008

Submitted by: Luke Tigaris (tigaris)

The following example illustrates the problem:

gbak -r -rep c:\powerlaw\sample.fbk c:\powerlaw\sample.fdb

This restore will run just fine if trusted authentication has been enabled in the firebird server.

gbak -r -rep -se service_mgr c:\powerlaw\sample.fbk c:\powerlaw\sample.fdb

This restore will return the error "Your user name and password are not defined.". The only difference is the addition of a switch to tell gbak to run through the services manager instead of directly through native code.

gbak -se service_mgr c:\powerlaw\sample.fdb c:\powerlaw\sample.fbk

Note that this version (a backup) also works, so even though it runs through the services api!

I bring this example up because I have been working on getting existing (and working) services api code to work with new trusted authenticated mechanism. It appears only services that use the security inherit in the attach_database mechanism will work. Most service api calls will fail with bad user name and password.

Commits: 8e37192

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 5, 2008

Modified by: @dyemanov

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 5, 2008

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.1.2 [ 10270 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jun 5, 2008

Commented by: Luke Tigaris (tigaris)

Quick work! Thanks a lot!

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 26, 2009

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 19, 2016

Modified by: @pavel-zotov

QA Status: No test

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

Successfully merging a pull request may close this issue.

None yet
2 participants