Subject | RE: [firebird-support] Remote file with samba |
---|---|
Author | Thomas Steinmaurer |
Post date | 2004-03-05T10:19:59Z |
> How can i say to firebird (for windows) to access a file shared by a*Don't* put a share on the directory the database file resides.
> samba (linux) shared directory or network drive??
>
> I try to connect to this file with EMS interbase /firebird manager
>
> Is My syntax correct when i fill the fields?
>
> ---> Remote server
> ----> TCP/IP
> ----> database file share/demo.gdb
>
> I receive the error: operation aborted...
>
> My samba sahre is accessible by all read and write...
>
> Anyone can help me??
It is simply not necessary for being able to connect to a database,
and very dangerous from a security POV.
Remove the share, and use a connect string like:
yourlinuxserver:/full_qualified_path_on_the_server/demo.gdb
Don't know how EMS lets you enter the connect string. If you
are able to choose the protocol and enter the server name
somewhere, then the path to the database on the server might
be enough. For example:
/full_qualified_path_on_the_server/demo.gdb
If you are using Firebird 1.5, then you might create an
server-side alias in "aliases.conf" for that particular
database. Something like:
demo=/full_qualified_path_on_the_server/demo.gdb
The connect string needs to be
yourlinuxserver:demo
then. Or, again, without the server name, if that piece of
information can be put in the EMS tool somewhere else, e.g.
in a separate edit box.
HTH,
Thomas Steinmaurer
LogManager Serie - Logging/Auditing Suites supporting
InterBase, Firebird, Advantage Database and MS SQL Server
Upscene Productions
http://www.upscene.com