X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 9B80E9FA5E9 for ; Sat, 17 Jun 2006 08:46:43 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 69423-07 for ; Sat, 17 Jun 2006 08:46:40 -0300 (ADT) X-Greylist: delayed 00:05:17.000389 by SQLgrey- Received: from aa002msr.fastwebnet.it (aa002msr.fastwebnet.it [85.18.95.65]) by postgresql.org (Postfix) with ESMTP id 6A3DE9FA430 for ; Sat, 17 Jun 2006 08:46:40 -0300 (ADT) Received: from osmosis.gnet.eu (37.244.81.223) by aa002msr.fastwebnet.it (7.2.070.1) id 449067300018826C for pgsql-admin@postgresql.org; Sat, 17 Jun 2006 13:41:20 +0200 Subject: password authentication failed (postgresql v8.1.4) From: Andrea Gozzi Reply-To: andrea.gozzi@linuxrevolution.eu To: pgsql-admin@postgresql.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-6UIfixjO1Bq/kPbzEesE" Date: Sat, 17 Jun 2006 13:41:13 +0200 Message-Id: <1150544474.27479.10.camel@osmosis.gnet.eu> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/131 X-Sequence-Number: 22093 --=-6UIfixjO1Bq/kPbzEesE Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 --=20 Andrea Gozzi --=-6UIfixjO1Bq/kPbzEesE Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEk+pZoIXRn+fZcV0RAhL6AJwIZbkF9NUqIG+lTJ24mdSyWtG3XQCgvTTb fujbow30MB8HUMlRsC9g2zg= =ozgr -----END PGP SIGNATURE----- --=-6UIfixjO1Bq/kPbzEesE--