Skip site navigation (1) Skip section navigation (2)

local authentication with md5

From: Bernhard D Rohrer <graylion(at)sm-wg(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: local authentication with md5
Date: 2008-03-30 16:56:22
Message-ID: 47EFC636.6070506@sm-wg.net (view raw or flat)
Thread:
Lists: 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


Responses

pgsql-admin by date

Next:From: Mikko PartioDate: 2008-03-30 18:26:49
Subject: Re: Vacuum full crash
Previous:From: Tom LaneDate: 2008-03-30 15:40:35
Subject: Re: Vacuum full crash

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group