From: Heitor F. <he...@ba...> - 2019-06-19 11:52:46
|
<html><head></head><body><div dir="auto">Hello Marcin,<br><br></div> <div dir="auto">I was always curious about that.<br></div> <div dir="auto">Pgsql only supports one auth method for a given configuration.<br></div> <div dir="auto">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?<br><br></div> <div dir="auto">Regards,<br></div> <div dir="auto"><!-- tmjah_g_1299s -->-- <!-- tmjah_g_1299e --><br></div> <div dir="auto"><!-- tmjah_g_1299s -->MSc Heitor Faria <!-- tmjah_g_1299e --><br></div> <div dir="auto"><!-- tmjah_g_1299s -->CEO Bacula LATAM <!-- tmjah_g_1299e --><br></div> <div dir="auto"><!-- tmjah_g_1299s -->mobile1: + 1 909 655-8971 <!-- tmjah_g_1299e --><br></div> <div dir="auto"><!-- tmjah_g_1299s -->mobile2: + 55 61 98268-4220 <!-- tmjah_g_1299e --><br></div> <div dir="auto"><!-- tmjah_g_1299s -->[ <!-- tmjah_g_1299e --><a href="https://www.linkedin.com/in/msc-heitor-faria-5ba51b3"><!-- tmjah_g_1299s --><a href="https://www.linkedin.com/in/msc-heitor-faria-5ba51b3">https://www.linkedin.com/in/msc-heitor-faria-5ba51b3</a><!-- tmjah_g_1299e --></a><!-- tmjah_g_1299s --> ] <!-- tmjah_g_1299e --><br></div> <div dir="auto"><!-- tmjah_g_1299s -->[ <!-- tmjah_g_1299e --><a href="http://www.bacula.com.br"><!-- tmjah_g_1299s --><a href="http://www.bacula.com.br">http://www.bacula.com.br</a><!-- tmjah_g_1299e --></a><!-- tmjah_g_1299s -->/ ] <!-- tmjah_g_1299e --><br><br></div> <div dir="auto"><!-- tmjah_g_1299s -->América Latina <!-- tmjah_g_1299e --><br></div> <div dir="auto"><!-- tmjah_g_1299s -->[ http://bacula.lat/ | bacula.lat ] | [ <!-- tmjah_g_1299e --><a href="http://www.bacula.com.br"><!-- tmjah_g_1299s --><a href="http://www.bacula.com.br">http://www.bacula.com.br</a><!-- tmjah_g_1299e --></a><!-- tmjah_g_1299s -->/ | <!-- tmjah_g_1299e --><a href="http://bacula.com.br"><!-- tmjah_g_1299s --><a href="http://bacula.com.br">bacula.com.br</a><!-- tmjah_g_1299e --></a><!-- tmjah_g_1299s --> ]<!-- tmjah_g_1299e --><br><br></div> <div dir="auto"><!-- tmjah_g_1299s -->Sent from <!-- tmjah_g_1299e --><a href="http://www.typeapp.com/r?b=15283"><!-- tmjah_g_1299s -->TypeApp<!-- tmjah_g_1299e --></a><!-- tmjah_g_1299s --> <!-- tmjah_g_1299e --></div> <div class="gmail_quote" >On Jun 19, 2019, at 12:24 AM, Marcin Haba <<a href="mailto:gan...@gm..." target="_blank">gan...@gm...</a>> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <pre class="blue">Hello Jasen,<br><br>This error comes from PostgreSQL, not from Baculum itself:<br><br>FATAL: Ident authentication failed for user "bacula"<br><br>It means that your ident authentication doesn't work for "bacula" user<br>and password. I propose you change authentication method for Baculum<br>connection to password authentication type ('md5' in this case). More<br>information about it you can find in pg_hba.conf file in your Catalog<br>database files and in PostgreSQL documentation here:<br><br><a href="https://www.postgresql.org/docs/10/auth-methods.html">https://www.postgresql.org/docs/10/auth-methods.html</a><br><br>Best regards.<br>Marcin Haba (gani)<br><br>On Tue, 18 Jun 2019 at 19:55, Jasen Lentz <jl...@se...> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><br> 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:<br><br><br><br><br><br> Error: 2, Message: Problem with connection to database. TDbConnection failed to establish DB connection: SQLSTATE[08006] [7] FATAL: Ident authentication failed for user "bacula"<br><br><br><br> I have tried it with a password set, and no password set. Not sure what I am doing incorrectly…<br><br><br><br> Thanks!<br><br> Jasen<br><br><br><br><hr><br> Bacula-users mailing list<br> Bac...@li...<br> <a href="https://lists.sourceforge.net/lists/listinfo/bacula-users">https://lists.sourceforge.net/lists/listinfo/bacula-users</a><br></blockquote><br><br></pre></blockquote></div></body></html> |