You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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
The text was updated successfully, but these errors were encountered: