Re: [Bacula-users] Bacularis API host initial setup with postgresql and bacula.

2024-04-03 Thread Marcin Haba
Hello Rob, Bacularis is not able to use the peer authentication method easily because it is authentication that is based on system users. In this case the Bacularis PHP user usually is different from the default Bacula database user. In your case I think if you want you can stay in the peer metho

Re: [Bacula-users] Bacularis API host initial setup with postgresql and bacula.

2024-04-03 Thread Rob Gerber
Marcin, Thank you for the very quick response! I will experiment with this when I have some time. I am guessing because I've never configured a password for the bacula database, and based on my pg_hba.conf, that bacula is authenticating to the database server via peer connections, so bacula doesn

Re: [Bacula-users] Bacularis API host initial setup with postgresql and bacula.

2024-04-02 Thread Marcin Haba
Hello Rob, At the moment I prepared a section about the authentication methods in the Bacularis documentation. You can read it here: https://bacularis.app/doc/brief/configuration.html#bacula-catalog-database-access Best regards, Marcin Haba (gani) On Wed, 3 Apr 2024 at 04:51, Marcin Haba wrote

Re: [Bacula-users] Bacularis API host initial setup with postgresql and bacula.

2024-04-02 Thread Marcin Haba
Hello Rob, Thanks for your question. As the authentication method in PostgreSQL pg_hba.conf you can use scram-sha-256 This method is available starting from PostgreSQL 10. For the Bacularis documentation, yes, it looks to be missing there. I will add to the doc this section about configuring the

[Bacula-users] Bacularis API host initial setup with postgresql and bacula.

2024-04-02 Thread Rob Gerber
I have previously set up bacula and bacularis on Rocky Linux 9. At the time I ran into issues giving bacularis access to bacula's postgresql database. I didn't know the bacula database password. At that time I set the postgresql pg_hba.conf file to use "trust". However I am concerned that this isn'