[NEWBIE] FATAL 1: IDENT authentication failed for user "admin"

Поиск
Список
Период
Сортировка
От Alexandre Touret
Тема [NEWBIE] FATAL 1: IDENT authentication failed for user "admin"
Дата
Msg-id 3F3237CB.2060804@cgbi.fr
обсуждение исходный текст
Ответы Re: [NEWBIE] FATAL 1: IDENT authentication failed for  (Wim <wdh@belbone.be>)
Список 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 по дате отправления:

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: [PHP] authentication question
Следующее
От: Wim
Дата:
Сообщение: Re: [NEWBIE] FATAL 1: IDENT authentication failed for