Subject | Re: How do I turn off or supplied user/password for embedded database access? |
---|---|
Author | Jeff Lynn |
Post date | 2006-04-12T15:10:42Z |
ok, I am using the embedded dll, and the isc_attach_database api call
does not allow for user/password specification.
Again, pardon my ignorance, I did not find any documentation on API.
I can only derive the calling sequence from the header file.
jml
--- In firebird-support@yahoogroups.com, "Ivan Prenosil"
<Ivan.Prenosil@...> wrote:
does not allow for user/password specification.
Again, pardon my ignorance, I did not find any documentation on API.
I can only derive the calling sequence from the header file.
jml
--- In firebird-support@yahoogroups.com, "Ivan Prenosil"
<Ivan.Prenosil@...> wrote:
>
> > 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/
>