Subject Re: [firebird-support] No aliasing when using NetBEUI?
Author Helen Borrie
At 05:48 AM 13/03/2006, you wrote:
>Hello,
>
>I've been using Firebird for some years now - programming only very
>small applications for myself. But now there is a larger project, and
>I'm going deeper into Firebird. Until now, everything worked great -
>but now I'm stuck with some aliasing problem in conjunction with
>NetBEUI access.
>
>Without aliasing, I can access the database either by
>TCP/IP: myserver:C:\Data\myDatabase.fdb
>NetBEUI: \\myserver\C:\Data\myDatabase.fdb
>Both ways work without any problems.
>
>For security reasons, I have put the line
>
>myDatabase = C:\Data\myDatabase.fdb
>
>into the aliases.conf file.
>
>With TCP/IP, I can now access the database by
>myserver:myDatabase
>but using NetBEUI with the connection string
>\\myserver\myDatabase
>I get the following error messages:
>
>+++
>
>Attempting to connect to:
>\\myserver\myDatabase
>Connecting... Failed!
>------------------------------------
>Unsuccessful execution caused by a system error that precludes
>successful execution of subsequent statements.
>I/O error for file "\myDatabase".
>Error while trying to open file.
>
>---

Confirmed, it is now broken, at least in Firebird 1.5.3. What
versions of client and server are you using?


>According to "The Firebird Book", it should work this way.

It should.


>(There's another funny thing: If I use
>\\myserver\:myDatabase
>as connection string, I do get a connection; but the first SQL command
>on that connection returns "Dynamic SQL Error -901: feature is not
>supported".)

Also confirmed.


>So this leads to the questions (in decreasing order of probability):
>- Am I doing something wrong?

No.

>- Is this a Windows bug?

No.

>- Is this a Firebird bug?

Yes.

>- Does the Firebird book lie?

It does now. :-)

Could you reply giving the build numbers of your server and client so
we can file an urgent bug report?

./heLen