Source: davical
Version: 1.0.2-1
Severity: normal

Hi.

Running create-database.sh when creating the DBs with a pg_hab.conf that
doesn't use trust-mode, but allows just some users ends up in an error,
even though the user is currectly authorised.

pg_hba.conf:
local   davical         davical_dba,davical_app                 peer    
map=davical

pg_ident.conf:
davical         cgi-davical             davical_dba
davical         cgi-davical             davical_app

Creating the DB with:
su postgres -c /usr/share/davical/dba/create-database.sh

At some point it seems to try accessing the DB, but this fails of course
as one is user postgres, and not cgi-davical.

Not sure whether this can be easily fixed in code, but then at least
the documentation should state, that during installation, you'll need both,
being a user that is allowed to create DBs (=> postgres) and to access
davical (in my case cgi-davical)... or one should just add the "trust"-rules
during installation.


What about updates? Is it also required there?

Cheers,
Chris.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to