Re: [firebird-support] Backup in embedded mode using C API - authentication problem

2016-05-23 Thread Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
23.05.2016 20:37, Bunth Tamás btom...@gmail.com [firebird-support] wrote:
> As far as I know,
> I shouldn't pass username/password in the spb to isc_service_attach() in 
> embedded mode.

   You don't need password, but user name must be.

-- 
   WBR, SD.


Re: [firebird-support] Backup in embedded mode using C API - authentication problem

2016-05-23 Thread Bunth Tamás btom...@gmail.com [firebird-support]
On 23 May 2016 at 21:01, Dimitry Sibiryakov s...@ibphoenix.com
[firebird-support]  wrote

> >You don't need password, but user name must be.
>
When I add "SYSDBA" as a user name to the spb of isc_service_attach, I got
the following error:

*I/O error during "open" operation for file
"/usr/local/firebird/security2.fdb"
*Error while trying to open file
*No such file or directory
caused by
'isc_service_attach'

It seems to me that firebird looks for the user name in the security2.fdb
file, which shouldn't be used in an embedded server. What am I missing?


Re: [firebird-support] Backup in embedded mode using C API - authentication problem

2016-05-23 Thread Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
23.05.2016 22:08, Bunth Tamás btom...@gmail.com [firebird-support] wrote:
> It seems to me that firebird looks for the user name in the security2.fdb
> file, which shouldn't be used in an embedded server. What am I missing?

   There is no embedded server on Linux. You are trying to use Classic Server.

-- 
   WBR, SD.