Subject Re: [IBO] Login without database
Author Paul Vinkenoog
Hi Kevin,

> Does IBO support the notion of logging into a server without
> specifying a database?

Not that I know, unless it was added recently.

Note that you can't really "log in" to the server, but you can verify
a user name + password, which is what you want.

I wrote a function to do that years ago. It's in the "ibapi" package,
which you can download freely from http://vinkenoog.nl/firebird/

The source is in C++, ready to use in your BCB projects. There's also
a DLL + import package for Delphi. It's all very small and it will
probably stay like that forever, but it has what you want.

> I'd like to be able to attempt a login just to test whether my
> username and password are correct. The problem is that my database
> may not yet exist and I'm having trouble differentiating this from
> failed authentication.

The error message should tell you that.


Regards,
Paul Vinkenoog