[NEWBIE] FATAL 1: IDENT authentication failed for user "admin" - Mailing list pgsql-novice

From Alexandre Touret
Subject [NEWBIE] FATAL 1: IDENT authentication failed for user "admin"
Date
Msg-id 3F3237CB.2060804@cgbi.fr
Whole thread Raw
Responses Re: [NEWBIE] FATAL 1: IDENT authentication failed for
List pgsql-novice
Hi all,
I m beginning under Postgres.
I want to connect an UDDI registry to Postgres with JDBC . Altough I was created a database and a user. However, when I am trying to connect to my database with JDBC ant with the psql command I have the same error in /var/log/syslog

Aug  7 13:17:43 linux167 postgres[8254]: [1] FATAL 1:  IDENT authentication failed for user "admin"

I have filled the files pg_hba.conf and pg_ident.conf . Also I have created an user in my db schema.

My configuration:

OS Debian Linux Woody (stable)
DB : PostgreSQL 7.2

pg_hba.conf:

local        all                                           ident uddi
host    all     192.168.3.97    255.0.0.0       ident   uddi
host    all     127.0.0.1       255.0.0.0       ident   uddi
host    all     127.0.0.1       255.0.0.0       trust   uddi

pg_ident.conf:

# MAP     IDENT    PGUSERNAME
uddi    admin   admin
uddi    postrges        postgres

my command under psql:

CREATE USER admin PASSWD 'admin';

Thanks for your help

Alexandre Touret
______________________________
Alexandre Touret
CGBI
69 Boulevard Galliéni
92130 Issy les Moulineaux
tel.: 01/55/95/53/95        Poste: 5395
mailto:alexandre.touret@cgbi.fr

pgsql-novice by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: [PHP] authentication question
Next
From: Wim
Date:
Subject: Re: [NEWBIE] FATAL 1: IDENT authentication failed for