Hello Heitor,

Thanks for your idea about running Baculum as bacula user. Yes, in
some cases I am sure that it will be more user-friendly. I run Baculum
with default web server user to "fit" it to the system. We have couple
of ways to install Bacula:

- by distribution packages
- by packages from Bacula project
- by manual compilation from sources

Baculum should work well with all these cases, also in systems without
bacula user.

Summary from my side is that the idea is good and it should work well
in cases when bacula user is on place.

Best regards.
Marcin Haba (gani)

On Wed, 19 Jun 2019 at 13:52, Heitor Faria <hei...@bacula.com.br> wrote:
>
> 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
> [ https://www.linkedin.com/in/msc-heitor-faria-5ba51b3 ]
> [ http://www.bacula.com.br/ ]
>
> América Latina
> [ http://bacula.lat/ | bacula.lat ] | [ http://www.bacula.com.br/ | 
> bacula.com.br ]
>
> 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
>>
>>
>>


-- 
"Greater love hath no man than this, that a man lay down his life for
his friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to