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
====================================================================