pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: vieglais@ku.edu
Cc: pgsql-admin@postgresql.org
Subject: Re: client authentication problem
Date: Thu, 03 Feb 2005 01:10:14 -0500
Message-ID: <12550.1107411014@sss.pgh.pa.us> (raw)
In-Reply-To: <42002213.6070405@ku.edu>
References: <42002213.6070405@ku.edu>

Dave Vieglais <vieglais@ku.edu> writes:
> Contents of pg_hba.conf:

> local  all  postgres                       ident sameuser
> local  all  all                            md5
> host   all  all  127.0.0.1 255.255.255.255 md5
> host   all  all  0.0.0.0   0.0.0.0         reject

> # tail /var/log/postgresql/postgresql.log
> LOG:  redo record is at 0/6851324; undo record is at 0/0; shutdown TRUE
> LOG:  next transaction ID: 61873; next OID: 28747
> LOG:  database system is ready
> 2005-01-31 16:03:23 [31418] LOG:  connection received: host=127.0.0.1 port=33377
> 2005-01-31 16:03:23 [31418] LOG:  cannot use authentication method "crypt" 
> because password is MD5-encrypted
> 2005-01-31 16:03:23 [31418] FATAL:  Password authentication failed for user 
> "test"

I'm fairly sure that this log entry is not possible unless the
postmaster found a pg_hba.conf entry specifying "crypt".  Accordingly
I suspect pilot error.  Perhaps you are looking at the wrong copy of
pg_hba.conf?  Or maybe you changed the file and forgot to SIGHUP the
postmaster?

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <12550.1107411014@sss.pgh.pa.us>
Permalink:  ../12550.1107411014@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12550.1107411014@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, vieglais@ku.edu
  Subject: Re: client authentication problem
  In-Reply-To: <12550.1107411014@sss.pgh.pa.us>
  References: <42002213.6070405@ku.edu> <12550.1107411014@sss.pgh.pa.us>

* 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