pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bernhard D Rohrer <graylion@sm-wg.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: local authentication with md5
Date: Sun, 30 Mar 2008 20:34:26 +0100
Message-ID: <47EFEB42.6000402@sm-wg.net> (raw)
In-Reply-To: <27348.1206905555@sss.pgh.pa.us>
References: <47EFC636.6070506@sm-wg.net>
	<27348.1206905555@sss.pgh.pa.us>

Tom Lane wrote:
> Bernhard D Rohrer <graylion@sm-wg.net> writes:
>> I have set my authentication to
>> # "local" is for Unix domain socket connections only
>> local   all         all                               md5 #ident sameuser
> 
> Are you sure this actually took effect (ie did you "pg_ctl reload")?
> 
>> 30-Mar 17:47 collab-dir: BeforeJob: run command 
>> "/etc/bacula/scripts/make_catalog_backup bacula postgres 
>> 'md5xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'"
>> 30-Mar 17:47 collab-dir: BeforeJob: pg_dump: [archiver (db)] connection 
>> to database "bacula" failed: FATAL: Ident authentication failed for user 
>> "postgres"
> 
> It's clear that this connection is trying to use ident not md5.
> Either you didn't make the pg_hba edit take effect, or bacula
> is trying to use TCP instead of Unix-socket connection and you
> still have the "host" line set to ident.
> 
> 			regards, tom lane

The bizarre thing is that removing #ident sameuser solved it

clearly the # is not parsed correctly after a statement

cheers

Bernhard

-- 
Graylion's Fetish & Fashion Store
Goth and Kinky Boots, Clothing and Jewellery
http://www.graylion.net



view thread (3+ messages)

Message-ID: <47EFEB42.6000402@sm-wg.net>
Permalink:  ../47EFEB42.6000402@sm-wg.net/
Also on:    postgresql.org/message-id/47EFEB42.6000402@sm-wg.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: graylion@sm-wg.net, tgl@sss.pgh.pa.us
  Subject: Re: local authentication with md5
  In-Reply-To: <47EFEB42.6000402@sm-wg.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox