pg_hba.conf and ident authentification - Mailing list pgsql-admin

From Jozef KRSSAK
Subject pg_hba.conf and ident authentification
Date
Msg-id Pine.LNX.4.21.0104120223330.2883-100000@pec.upc.uniba.sk
Whole thread Raw
Responses Re: pg_hba.conf and ident authentification  (Peter Eisentraut <peter_e@gmx.net>)
Re: pg_hba.conf and ident authentification  (root <root@dennis.veritime.com>)
List 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 by date:

Previous
From: "Peter Galbavy"
Date:
Subject: Re: Encryption.
Next
From: "vijayendra mohan agrawal"
Date:
Subject: Access Control in PostGreSQL