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 363D49DC9D6 for ; Mon, 6 Mar 2006 11:05:44 -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 33083-09 for ; Mon, 6 Mar 2006 11:05:48 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from megazone.bigpanda.com (megazone.bigpanda.com [64.147.171.210]) by postgresql.org (Postfix) with ESMTP id 48F9C9DC94B for ; Mon, 6 Mar 2006 11:05:41 -0400 (AST) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 669E33517A; Mon, 6 Mar 2006 07:05:46 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 639F4350F8; Mon, 6 Mar 2006 07:05:46 -0800 (PST) Date: Mon, 6 Mar 2006 07:05:46 -0800 (PST) From: Stephan Szabo To: ow Cc: pgsql-admin@postgresql.org Subject: Re: pg_hba.conf + all + trust = Ident authentication failed In-Reply-To: <20060306130216.54868.qmail@web53906.mail.yahoo.com> Message-ID: <20060306070336.P410@megazone.bigpanda.com> References: <20060306130216.54868.qmail@web53906.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.136 required=5 tests=[AWL=0.136] X-Spam-Score: 0.136 X-Spam-Level: X-Archive-Number: 200603/55 X-Sequence-Number: 20812 On Mon, 6 Mar 2006, ow wrote: > PostgreSQL 8.1.0 on i486-pc-linux-gnu, compiled by GCC cc (GCC) 4.0.3 20051111 > (prerelease) (Debian 4.0.2-4) > > > Hi, > > Can't get pg_hba.conf with trust to work: > > testusr@test1:~$ psql -U postgres > psql: FATAL: Ident authentication failed for user "postgres" Are you sure you're using the configuration below (ie, you're editing the correct file and have at least used sighup after the change)? It sure looks like the server thinks the method is ident which would be the default for the debian packages I think. > Any ideas? Thanks in advance > > -------------------------------------------------------------------------- > > $ cat pg_hba.conf > # TYPE DATABASE USER CIDR-ADDRESS METHOD > > # "local" is for Unix domain socket connections only > local all all trust > # IPv4 local connections: > host all all 127.0.0.1/32 trust > # IPv6 local connections: > host all all ::1/128 trust > > -------------------------------------------------------------------------- > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ---------------------------(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 >