pg_hba.conf and ident authentification

Поиск
Список
Период
Сортировка
От Jozef KRSSAK
Тема pg_hba.conf and ident authentification
Дата
Msg-id Pine.LNX.4.21.0104120223330.2883-100000@pec.upc.uniba.sk
обсуждение исходный текст
Ответы Re: pg_hba.conf and ident authentification
Re: pg_hba.conf and ident authentification
Список pgsql-admin
I don't know, what is problem, see next please:

1. OS:
debian linux 2.2.x

2. postgres version:
6.5.3

3. auth deamon runing

4. name of my account:
krssak

5. pg_hba.conf:
local   rocnikovy                                       trust
host    rocnikovy       127.0.0.1       255.255.255.255 ident   map

6. pg_ident.conf:
map     krssak  jozok

7. create user jozok;

8. select * from pg_shadow; :
usename |usesysid|usecreatedb|usetrace|usesuper|usecatupd|passwd|valuntil

--------+--------+-----------+--------+--------+---------+------+---------------
-------
jozok   |    1091|f          |f       |f       |f        |      |

postgres|      31|t          |t       |t       |t        |
|2037-01-31 07:0
0:00+01

9.
krssak@pec:~$ psql -h localhost -d rocnikovy
Connection to database 'rocnikovy' failed.
IDENT authentication failed for user 'krssak'
krssak@pec:~$

what am I missing?

thanks

====================================================================
Univerzitne pastoracne centrum bl. Jozefa Freinademetza v Bratislave
Jozef Krssak
krssak@upc.uniba.sk       tel. 0905 906 297
====================================================================



В списке pgsql-admin по дате отправления:

Предыдущее
От: "Peter Galbavy"
Дата:
Сообщение: Re: Encryption.
Следующее
От: "vijayendra mohan agrawal"
Дата:
Сообщение: Access Control in PostGreSQL