Subject RE: [firebird-support] Remote file with samba
Author Yann RIVIERE
Oki..thanks a lot..

But,my firebird is on a windows 2000 server and the file is on a linux server.

On the win2k server (the database engine) i try to connect to the remote file
demo.gdb that contains my tables on the linux server.

So, the goal is to have the database engine on the win2k server and the files
hosted by the linux server.

Can i realize this??

Thanks a lot.

Regards.

Yann RIVIERE



--- Thomas Steinmaurer <ts@...> a écrit :
---------------------------------
> How can i say to firebird (for windows) to access a file shared by a
> 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??

*Don't* put a share on the directory the database file resides.
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



---------------------------------
Yahoo! Groups Links

To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-support/

To unsubscribe from this group, send an email to:
firebird-support-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.







Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com