pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrea Gozzi <andrea.gozzi@linuxrevolution.eu>
To: andy.shellam@mailnetwork.co.uk
Cc: pgsql-admin@postgresql.org
Subject: Re: password authentication failed (postgresql v8.1.4)
Date: Sat, 17 Jun 2006 14:30:20 +0200
Message-ID: <1150547420.27479.12.camel@osmosis.gnet.eu> (raw)
In-Reply-To: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAAC4AAAAAAAAAt+qV6pqKPEmXG74TlFgX5gEAlpDSN+DrMEWnumhoRHpQKQAAAbLc9wAAEAAAAMUMakySmKJDsUqfk3WyI2gBAAAAAA==@mailnetwork.co.uk>
References: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAAC4AAAAAAAAAt+qV6pqKPEmXG74TlFgX5gEAlpDSN+DrMEWnumhoRHpQKQAAAbLc9wAAEAAAAMUMakySmKJDsUqfk3WyI2gBAAAAAA==@mailnetwork.co.uk>

That was it, now everything's working!
Thanks a lot, it seems like I forgot to read that manual page..

Andrea

On Sat, 2006-06-17 at 12:56 +0100, Andy Shellam wrote:
> http://www.postgresql.org/docs/8.1/static/role-membership.html
> 
> According to the above manual page, the command is like:
> 
> CREATE ROLE joe LOGIN INHERIT;
> 
> (presumably with your WITH PASSWORD and other grants tacked on.)
> 
> > -----Original Message-----
> > From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-
> > owner@postgresql.org] On Behalf Of Andrea Gozzi
> > Sent: 17 June 2006 12:41 pm
> > To: pgsql-admin@postgresql.org
> > Subject: [ADMIN] password authentication failed (postgresql v8.1.4)
> > 
> > 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>
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match

Attachments:

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

view thread (5+ messages)  latest in thread

Message-ID: <1150547420.27479.12.camel@osmosis.gnet.eu>
Permalink:  ../1150547420.27479.12.camel@osmosis.gnet.eu/
Also on:    postgresql.org/message-id/1150547420.27479.12.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, andy.shellam@mailnetwork.co.uk
  Subject: Re: password authentication failed (postgresql v8.1.4)
  In-Reply-To: <1150547420.27479.12.camel@osmosis.gnet.eu>
  References: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAAC4AAAAAAAAAt+qV6pqKPEmXG74TlFgX5gEAlpDSN+DrMEWnumhoRHpQKQAAAbLc9wAAEAAAAMUMakySmKJDsUqfk3WyI2gBAAAAAA==@mailnetwork.co.uk> <1150547420.27479.12.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