[Bucardo-general] Some more questions

Greg Sabino Mullane greg at endpoint.com
Thu Nov 6 20:00:32 UTC 2014

On Thu, Nov 06, 2014 at 12:18:00PM +0800, Hadri Rahman wrote:
> DBI connect('dbname=bucardo;host=localhost;port=5432','bucardo',...)
> failed: fe_sendauth: no password supplied at /usr/local/bin/bucardo line
> 8627.

Hmmm.. does a psql connection as the bucardo user work?:

psql -h localhost -p 5432 -U bucardo bucardo

If so, you might try changing the empty password string at line 
8627 to an undef. It shouldn't matter, but might be worth a shot:

  $dbh = DBI->connect($BDSN, 'bucardo', '', {AutoCommit=>0,RaiseError=>1,PrintError=>0});
  $dbh = DBI->connect($BDSN, 'bucardo', undef, {AutoCommit=>0,RaiseError=>1,PrintError=>0});

Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Digital signature
URL: <https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20141106/7d36016a/attachment.sig>

More information about the Bucardo-general mailing list