X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7AC89474E5C for ; Sun, 23 Feb 2003 15:03:16 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 10451-06 for ; Sun, 23 Feb 2003 15:03:05 -0500 (EST) Received: from concepts.co.nz (203-79-66-220.adsl-wns.paradise.net.nz [203.79.66.220]) by postgresql.org (Postfix) with ESMTP id 715E947580B for ; Sun, 23 Feb 2003 14:59:57 -0500 (EST) Received: from ccls01.int.chc.concepts.co.nz ([192.168.0.5]) by goliath.concepts.co.nz with SMTP id <118082>; Mon, 24 Feb 2003 08:59:49 +1300 Received: from 192.168.0.6 by ccls01.int.chc.concepts.co.nz (InterScan E-Mail VirusWall NT); Mon, 24 Feb 2003 08:59:39 +1300 Received: from finlandia.concepts.co.nz (not verified[192.168.0.8]) by ccls02.int.chc.concepts.co.nz with MailMarshal (4, 2, 5, 0) id ; Mon, 24 Feb 2003 08:59:39 +1300 Received: from concepts.co.nz (freeflight.concepts.co.nz [192.168.0.16]) by finlandia.concepts.co.nz (8.11.6/8.11.6) with ESMTP id h1NJxcg02530 for ; Mon, 24 Feb 2003 08:59:39 +1300 Message-ID: <3E592923.4070204@concepts.co.nz> Date: Mon, 24 Feb 2003 09:03:47 +1300 From: Stephen Harris User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: ident sameuser failure Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/445 X-Sequence-Number: 7643 Hi all, I have a problem that I am chasing and getting nowhere with. Can anyone help? I have postgresql-7.2.1-5 running as the server on a redhat7.3 box. I am connecting from a redhat8.0 box with postgresql-7.2.2-1 using both psql and pgaccess. My pg_hba.conf looks like this: local all ident sameuser host testuserdb 192.168.0.0 255.255.255.0 ident sameuser host testdb 192.168.0.0 255.255.255.0 password Now the scenenario is like this: User test can connect to database testdb with a password. User testuser cannot connect to database testuserdb and gets these errors psql -h workbench -d testuserdb -U testuser psql: FATAL 1: IDENT authentication failed for user "testuser" on the server I made (as postgres) the users test and testuser, then became each user and created the testdb and testuserdb. I have tried making a usermap in pg_ident.conf testuser testuser testuser and tried the line host testuserdb 192.168.0.0 255.255.255.0 ident testuser But still no change. Testuser can connect if AUTH_TYPE is trust however. Can anyone lend a pinch of advice that may be the problem here? many thanks Stephen. Computer Concepts Limited 25 Leslie Hills Drive PO Box 8744 Riccarton Christchurch, New Zealand Phone: +64-3-348-2500 Fax: +64-3-343-7569 Notice of confidential information: The information contained in this e-mail message is confidential information and may also be legally privileged, intended only for the individual or entity named above. If you are not the intended recipient you are hereby notified that any use, review, dissemination, distribution or copying of this document is strictly prohibited. If you have received this document in error, please immediately notify the sender by telephone and destroy the message. Thank you.