X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id AE6E23AC454 for ; Tue, 28 Dec 2004 13:53:52 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 46908-10 for ; Tue, 28 Dec 2004 13:53:32 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by svr1.postgresql.org (Postfix) with ESMTP id B1E053AC1B4 for ; Tue, 28 Dec 2004 13:53:34 +0000 (GMT) Received: by wproxy.gmail.com with SMTP id 40so266040wri for ; Tue, 28 Dec 2004 05:53:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=qK8edAiBFEGu9EwcDGwBuXllfV13tEIcjWqnkbetvbaeN5Sran1/d/XsBgc2/DC2eqkgjTyk9CTMKfLezlHHoEwNH1fju50z+p87FtciTX58AOBKuoXeteJDErmVusU9lK1Ksx528b3DE6zvo+wN0mVej7ovSHWbGccUAJpWZNs= Received: by 10.54.59.4 with SMTP id h4mr97632wra; Tue, 28 Dec 2004 05:53:33 -0800 (PST) Received: by 10.54.59.29 with HTTP; Tue, 28 Dec 2004 05:53:33 -0800 (PST) Message-ID: <2ef564dc041228055320229353@mail.gmail.com> Date: Tue, 28 Dec 2004 19:23:33 +0530 From: Sukhdeep Johar Reply-To: Sukhdeep Johar To: =?ISO-8859-1?Q?Lic=2E_Guillermo_Gonz=E1lez?= Subject: Re: help with - psql: FATAL: Password authentication failed for user "gforge" Cc: pgsql-admin@postgresql.org, Sukhdeep Johar In-Reply-To: <41D15C8C.7080600@cybira.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: <2ef564dc04122802535f2b22c@mail.gmail.com> <2ef564dc041228025440383142@mail.gmail.com> <41D15C8C.7080600@cybira.biz> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.288 tagged_above=0 required=5 tests=AWL, BIZ_TLD, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200412/255 X-Sequence-Number: 15841 can i set database specific access permission in pg_hba.conf ?=20 Can you give me some more details.=20 My pg_hba.conf setting is :=20 local all all trust host all all 127.0.0.1 255.255.255.255 crypt I disabled all other lines.=20 I changed the second line to this : host all all 0.0.0.0 0.0.0.0 trust Now the psql command passes, but even after removing all access restrictions, pg_connct() is still failing. Can you please give some pointers what is going wrong ?=20 -Sukhdeep On Tue, 28 Dec 2004 09:15:56 -0400, Lic. Guillermo Gonz=E1lez wrote: > Sukhdeep Johar wrote: > > I followed these steps to create a new user : > > 1. createuser -P gforge > > 2. createdb -U gforge -E UNICODE gforge > > 3. createlang plpgsql gforge > > > > this gave no errors. > > But when I try to log in, I get the foll error > > # psql -h localhost -U gforge gforge > > psql: FATAL: Password authentication failed for user "gforge" > > > > Any comments, what may be going wrong ? > > -- > > Neither success nor failure is ever final > > > >=20 > Did you check your pg_hba.conf for gforge database access permisions? >=20 >=20 --=20 Neither success nor failure is ever final