Issue Details (XML | Word | Printable)

Key: CORE-3236
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Minor Minor
Assignee: Alexander Peshkov
Reporter: Pavel Cisar
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Firebird Core

GBAK "unavailable database" error when both service manager and localhost:db is specified

Created: 15/Nov/10 08:45 AM   Updated: 03/Dec/10 04:31 PM
Component/s: GBAK
Affects Version/s: 2.5.0
Fix Version/s: 2.5.1

Time Tracking:
Not Specified

Environment:
Windows XP SP3, Windows Server 2003
Firebird Classic Server

Planning Status: Unspecified


 Description  « Hide
This doesn't work under 2.5, but works just fine under 2.1:

c:\Program Files\Firebird\Firebird_2_5\bin>gbak -b -se localhost:service_mgr -user sysdba -pas ... localhost:c:\db\employee.fdb c:\db\emp.fbk
gbak: ERROR:unavailable database
gbak:Exiting before completion due to errors

When localhost: is removed from database spec. it works:
c:\Program Files\Firebird\Firebird_2_5\bin>gbak -b -se localhost:service_mgr -user sysdba -pas ... c:\db\employee.fdb c:\db\emp.fbk



 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Adriano dos Santos Fernandes added a comment - 15/Nov/10 12:42 PM
Isn't because you're using the server as a gateway to another server? AFAIR, this is turned off by security reasons.

Alexander Peshkov added a comment - 15/Nov/10 12:58 PM
Adriano, agreed - ability to connect to other server from services manager was treated as security problem and turned off. The fact that it worked in 2.1 is sooner bug than feature.

Pavel Cisar added a comment - 15/Nov/10 01:43 PM
I have no problem if you would resolve this as Won't Fix / As designed, but it should be noted in Release Notes / Fixed bugs.

Alexander Peshkov added a comment - 15/Nov/10 04:55 PM
This happened during general review of FB's security architecture. I'm not sure what to add to release notes?

Text like "It's not possible any more to connect to firebird database, locate on another server, using service_mgr"? But it was never documented that it is possible...

Or may be "It was possible to use instead of path of the file of the database a name of firebird database on another server. Fixed in 2.5.0."

Which is better?

Pavel Cisar added a comment - 16/Nov/10 07:57 AM
Guess that "It was possible to use instead of path of the file of the database a name of firebird database on another server. Fixed in 2.5.0." added to section related to security would do the trick.

Alexander Peshkov added a comment - 03/Dec/10 11:14 AM
Appropriate text is added to Chapter15 of release notes for 2.5.1