Subject No aliasing when using NetBEUI?
Author matthias_hanft
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.

---

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

(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".)

So this leads to the questions (in decreasing order of probability):
- Am I doing something wrong?
- Is this a Windows bug?
- Is this a Firebird bug?
- Does the Firebird book lie?

Thank you in advance for any help.

Best regards,

Matthias