Subject Re: [firebird-support] How do I turn off or supplied user/password for embedded database access?
Author Ivan Prenosil
> Anyhow, when I tried to use C++ program to attach to that database
> file using the embedded dll, it failed with the following statement:
>
> Attach database: D:\Temp\Test.fdb failed, sqlcode: -902!
> Your user name and password are not defined. Ask your database
> administrator to
> set up a Firebird login.

You have to supply username so FB can check permissions,
and you have to supply *any* password (it will not be checked,
but it must not stay empty).

Ivan
http://www.volny.cz/iprenosil/interbase/