Hello Marcin,
I was always curious about that.
Pgsql only supports one auth method for a given configuration.
Since Bacula Dir and Pgsql uses Peer by default, wouldn't it be easier, more user-friendly and safer if Baculum could be designed to run with the bacula Linux user?
Regards,
--
MSc Heitor Faria
CEO Bacula LATAM
mobile1: + 1 909 655-8971
mobile2: + 55 61 98268-4220
América Latina
Sent from TypeApp
On Jun 19, 2019, at 12:24 AM, Marcin Haba <ganius...@gmail.com> wrote:
Hello Jasen,
This error comes from PostgreSQL, not from Baculum itself:
FATAL: Ident authentication failed for user "bacula"
It means that your ident authentication doesn't work for "bacula" user
and password. I propose you change authentication method for Baculum
connection to password authentication type ('md5' in this case). More
information about it you can find in pg_hba.conf file in your Catalog
database files and in PostgreSQL documentation here:
https://www.postgresql.org/docs/10/auth-methods.html
Best regards.
Marcin Haba (gani)
On Tue, 18 Jun 2019 at 19:55, Jasen Lentz <jle...@sescollc.com> wrote:
I just installed Bacula according to the doc, and Baculum as well. Baculs runs from the command line OK. Trying to configure baculum API and have run into a problem with the postgres DB. It says it cannot connect:
Error: 2, Message: Problem with connection to database. TDbConnection failed to establish DB connection: SQLSTATE[08006] [7] FATAL: Ident authentication failed for user "bacula"
I have tried it with a password set, and no password set. Not sure what I am doing incorrectly…
Thanks!
Jasen
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users