local authentication with md5 - Mailing list pgsql-admin

From Bernhard D Rohrer
Subject local authentication with md5
Date
Msg-id 47EFC636.6070506@sm-wg.net
Whole thread Raw
Responses Re: local authentication with md5 - solved  (Bernhard D Rohrer <graylion@sm-wg.net>)
Re: local authentication with md5  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Hi all

I have set my authentication to

# "local" is for Unix domain socket connections only
local   all         all                               md5 #ident sameuser

for security reasons

this leads to this problem when trying to run a script:

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"

how does one pass an md5 encrypted pw to postgres? I tried it with clear
as well, but that failed too. Not happy doing that anyway.

many thanks in advance

Bernhard

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


pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Vacuum full crash
Next
From: "Mikko Partio"
Date:
Subject: Re: Vacuum full crash