X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id DE5459DC896 for ; Wed, 1 Mar 2006 06:03:03 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 46661-04 for ; Wed, 1 Mar 2006 06:03:04 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 421C19DC88D for ; Wed, 1 Mar 2006 06:03:01 -0400 (AST) Received: from sydney.mailnetwork.co.uk (server88-208-192-113.live-servers.net [88.208.192.113]) by svr4.postgresql.org (Postfix) with ESMTP id E2BDA5AF84F for ; Wed, 1 Mar 2006 10:03:03 +0000 (GMT) Received: from [213.146.143.243] (port=55321 helo=[192.168.2.128]) by sydney.mailnetwork.co.uk with esmtpa (Exim 4.60) (envelope-from ) id 1FEOAe-0002om-Ep; Wed, 01 Mar 2006 10:03:00 +0000 Message-ID: <44057153.3040500@andycc.net> Date: Wed, 01 Mar 2006 10:02:59 +0000 From: Andy Shellam Reply-To: andy@andycc.net Organization: www.mailnetwork.co.uk User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: gsivaraman@magnasync.com Cc: pgsql-admin@postgresql.org Subject: Re: pg_hba.conf References: <229be82fef34690094034e04c7c4e0fd@magnasync.com> In-Reply-To: <229be82fef34690094034e04c7c4e0fd@magnasync.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.668 required=5 tests=[AWL=0.668] X-Spam-Score: 0.668 X-Spam-Level: X-Archive-Number: 200603/2 X-Sequence-Number: 20759 Have you also changed your pg_ident.conf to map the user gowri to a database user, and does that database user exist in pgSQL? By default 127.0.0.1 is set up as trust authentication, so if you haven't changed this, it will always let you through no matter what username/password you give. Andy Gowri Sivaraman wrote: > Hi, > I am having problems with my connectivity for any of the users other > than the post gres. Let me elaborate on the situation > > > I am using OSX and i have changed the pg_hba.conf file to reflect > ident_authentication. I have attached my pg_hba.conf file. When i try > connecting as a user i get the following error > > > Gowri-Sivaraman:~ gowri$ psql -h localhost gen3logger > psql: FATAL: Ident authentication failed for user "gowri" > > > Even when i have given the user gowri trust authorization, it is not > working. For some reason, it is recognizing local . when i connect > using the host it is working. Can anybody let me know if i am missing > something here > > > Gowri-Sivaraman:~ gowri$ psql -h 127.0.0.1 -U gowri template1 > Welcome to psql 8.1.3, the PostgreSQL interactive terminal. > > Type: \copyright for distribution terms > \h for help with SQL commands > \? for help with psql commands > \g or terminate with semicolon to execute query > \q to quit > > SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256) > > template1=> > > > > > !DSPAM:14,440507c549411563562004! > > > > > Thanks > Gowri > > > !DSPAM:14,440507c549411563562004! > ------------------------------------------------------------------------ > > > ---------------------------(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 > > > !DSPAM:14,440507c549411563562004! >