Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 21CA82E022A for ; Wed, 5 Mar 2008 01:20:51 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 28519-07 for ; Wed, 5 Mar 2008 01:20:47 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id F1F242E01BD for ; Wed, 5 Mar 2008 01:20:47 -0400 (AST) Received: from jd-laptop (or-69-34-217-90.sta.embarqhsd.net [69.34.217.90]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m255LC0W027065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Mar 2008 21:21:12 -0800 Date: Tue, 4 Mar 2008 21:20:42 -0800 From: "Joshua D. Drake" To: Cc: Subject: Re: ident authentication problem Message-ID: <20080304212042.005d789c@jd-laptop> In-Reply-To: <20D88322B9D55444A327FEB661C3039008F85E48@HYD-MDP-MBX01.wipro.com> References: <20D88322B9D55444A327FEB661C3039008F85E48@HYD-MDP-MBX01.wipro.com> Organization: Joshua D. Drake X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.0; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/rAd8H2mdWxnwcaJMeTqXg7m"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Tue, 04 Mar 2008 21:21:13 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/33 X-Sequence-Number: 28516 --Sig_/rAd8H2mdWxnwcaJMeTqXg7m Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 5 Mar 2008 10:01:46 +0530 wrote: >=20 > Hello=20 > I am newbie to postgresql I have to make project using > this . I am learning it but at every step i am getting error . now I > am stuck with the error=20 >=20 > -bash-3.2$ psql -d xnat -f sql/xnat.sql -U xnat > psql: FATAL: Ident authentication failed for user "xnat" >=20 > I have made changes in my pg_hba.conf file also but then too this > error is coming Plz someone help me to get rid of this . This should help you out: http://www.postgresqldocs.org/index.php/Client_Authentication You need to change your pg_hba.conf to not use ident. Joshua D. Drake --=20 The PostgreSQL Company since 1997: http://www.commandprompt.com/=20 PostgreSQL Community Conference: http://www.postgresqlconference.org/ Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate PostgreSQL SPI Liaison | SPI Director | PostgreSQL political pundit --Sig_/rAd8H2mdWxnwcaJMeTqXg7m Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHzi2tATb/zqfZUUQRAnMrAJ9NXNOSbbV60AbhdRpNcCgm3LUotACfd9Bj otWYcD2wmgsclDjJalxbHIQ= =2kIF -----END PGP SIGNATURE----- --Sig_/rAd8H2mdWxnwcaJMeTqXg7m--