pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrea Gozzi <andrea.gozzi@linuxrevolution.eu>
To: pgsql-admin@postgresql.org
Subject: password authentication failed (postgresql v8.1.4)
Date: Sat, 17 Jun 2006 13:41:13 +0200
Message-ID: <1150544474.27479.10.camel@osmosis.gnet.eu> (raw)

Hi.
I have been upgrading my PG server from version 7.4 (debian sarge
binary) to v8.1.4 (source installation).
The installation procedure went fine but I can't log into the database
with another role/user than 'postgres'.
This is my pg_hba.conf, that I was succesfully using with v7.4:


# Database administrative login by UNIX sockets
local	all	postgres	ident	sameuser

# All other connections by UNIX sockets
local	all	all	ident	md5

# All IPv4 connections from localhost
host	all	admin	0.0.0.0	0.0.0.0	md5
host	all	bdati	0.0.0.0	0.0.0.0	md5


The remote pgAdmin3 obviously doesn't work and neither does the psql
command if I try to login with 'admin' or 'bdati'.
Users have been created with

CREATE ROLE admin WITH PASSWORD 'xxx' SUPERUSER;
CREATE ROLE bdati WITH PASSWORD 'xxx' CREATEDB;

It's probably one of the dumbest questions but I really can't sort it
out.

Thanks

Andrea


-- 
Andrea Gozzi <andrea.gozzi@linuxrevolution.eu>

Attachments:

  signature.asc (application/pgp-signature, 188B) download

view thread (5+ messages)  latest in thread

Message-ID: <1150544474.27479.10.camel@osmosis.gnet.eu>
Permalink:  ../1150544474.27479.10.camel@osmosis.gnet.eu/
Also on:    postgresql.org/message-id/1150544474.27479.10.camel@osmosis.gnet.eu

 · 

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: andrea.gozzi@linuxrevolution.eu
  Subject: Re: password authentication failed (postgresql v8.1.4)
  In-Reply-To: <1150544474.27479.10.camel@osmosis.gnet.eu>
  References: <1150544474.27479.10.camel@osmosis.gnet.eu>

* 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