Re: [Firebird-devel] isc_spb_version Call Without Global User?

2022-05-04 Thread Scott Morgan via Firebird-devel

On 5/4/22 08:29, Mark Rotteveel wrote:

On 03-05-2022 18:56, Dimitry Sibiryakov wrote:

Scott Morgan via Firebird-devel wrote 03.05.2022 18:29:
What can you do to get the server's info if you only have per-DB user 
accounts?


   Use isc_dpb_expected_db with your database name to inform Firebird 
which setting from databases.conf should be used during service attach 
(including security database).


I assume you mean isc_spb_expected_db, right?



Worked great, thanks.

Scott



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] isc_spb_version Call Without Global User?

2022-05-04 Thread Dimitry Sibiryakov

Mark Rotteveel wrote 04.05.2022 9:29:


   Use isc_dpb_expected_db with your database name to inform Firebird which 
setting from databases.conf should be used during service attach (including 
security database).


I assume you mean isc_spb_expected_db, right?


  Oh, yes. A tiny mistype.

--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] isc_spb_version Call Without Global User?

2022-05-04 Thread Alex Peshkoff via Firebird-devel

On 5/4/22 10:29, Mark Rotteveel wrote:

On 03-05-2022 18:56, Dimitry Sibiryakov wrote:

Scott Morgan via Firebird-devel wrote 03.05.2022 18:29:
What can you do to get the server's info if you only have per-DB 
user accounts?


   Use isc_dpb_expected_db with your database name to inform Firebird 
which setting from databases.conf should be used during service 
attach (including security database).


I assume you mean isc_spb_expected_db, right?



definitely



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] isc_spb_version Call Without Global User?

2022-05-04 Thread Mark Rotteveel

On 03-05-2022 18:56, Dimitry Sibiryakov wrote:

Scott Morgan via Firebird-devel wrote 03.05.2022 18:29:
What can you do to get the server's info if you only have per-DB user 
accounts?


   Use isc_dpb_expected_db with your database name to inform Firebird 
which setting from databases.conf should be used during service attach 
(including security database).


I assume you mean isc_spb_expected_db, right?

Mark
--
Mark Rotteveel


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] isc_spb_version Call Without Global User?

2022-05-03 Thread Dimitry Sibiryakov

Scott Morgan via Firebird-devel wrote 03.05.2022 18:29:

What can you do to get the server's info if you only have per-DB user accounts?


  Use isc_dpb_expected_db with your database name to inform Firebird which 
setting from databases.conf should be used during service attach (including 
security database).


--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] isc_spb_version Call Without Global User?

2022-05-03 Thread Scott Morgan via Firebird-devel
Just having a look at moving some old C API based code to work with FB4 
and I'm lost on getting the server's version info if there aren't any 
global users created (e.g. SYSDBA)


The isc_spb_version service call requires a user/password. If I do 
create a global user in security4.fdb, that works, but I don't 
particularly want to do that.


What can you do to get the server's info if you only have per-DB user 
accounts?


Scott


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel