Fulvio,

I believe that there are two issues here. The first is that the FIREBIRD
environment variable seems to be being ignored in 2.5 when locating the
security database.

The second is how to use the Firebird 2.5 libfbembed.so under Linux when
the current user is not a member of the firebird group.

As Alex Peshkoff pointed out, your can do this provided that a user name
is not provided. For example, with isql, as long as the ISC_USER
environment variable is not set, when no "-user" argument is given to
isql, no attempt is made to access the security database and a local
database can be accessed as long as the user has r/w access to their
local database.

My problem was coming from IBPP which helpfully?) checks the username
parameter when attempting to open a database and declares an error if
none is given. Under Firebird 2.1, this was not a problem as long as a
default security database was in the directory given by the FIREBIRD
environment variable. Under Firebird 2.5 there seems to be no workaround.

I have already posted a bug report on the IBPP list about this. The
FIREBIRD environment variable issue probably needs to be progressed
separately.

Tony Whyman
MWA



On 26/03/14 14:24, Fulvio Senore wrote:
> I have not tested 2.5 in embedded mode yet, at the moment I am using 
> 2.1. I commented a thread where it looks like it is not possible to use 
> 2.5 in the same way as 2.1 any more.
>
> Fulvio Senore
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to