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-automations opened this issue Jun 4, 2008 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

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

Modified by: @dyemanov

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 2.1.2 [ 10270 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: Luke Tigaris (tigaris)

Quick work! Thanks a lot!

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@firebird-automations
Copy link
Collaborator Author

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
Development

No branches or pull requests

2 participants