Re: pg_hba.conf + all + trust = Ident authentication failed for user "postgres"

Поиск
Список
Период
Сортировка
От Andy Shellam
Тема Re: pg_hba.conf + all + trust = Ident authentication failed for user "postgres"
Дата
Msg-id !&!AAAAAAAAAAAuAAAAAAAAALfqleqaijxJlxu+E5RYF+YBAJaQ0jfg6zBFp7poaER6UCkAAAGy3PcAABAAAABKeXBXam6HRImzMjNBJ2L1AQAAAAA=@mailnetwork.co.uk
обсуждение исходный текст
Ответ на pg_hba.conf + all + trust = Ident authentication failed for user "postgres"  (ow <oneway_111@yahoo.com>)
Ответы Re: pg_hba.conf + all + trust = Ident authentication failed for user "postgres"  (ow <oneway_111@yahoo.com>)
Список pgsql-admin
Does your pg_ident.conf contain anything with reference to testusr? As it
seems to be trying Ident authentication over everything else and failing.

Andy


-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of ow
Sent: Monday, 06 March, 2006 1:02 PM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] pg_hba.conf + all + trust = Ident authentication failed for
user "postgres"

PostgreSQL 8.1.0 on i486-pc-linux-gnu, compiled by GCC cc (GCC) 4.0.3
20051111
(prerelease) (Debian 4.0.2-4)


Hi,

Can't get pg_hba.conf with trust to work:

  testusr@test1:~$ psql -U postgres
  psql: FATAL:  Ident authentication failed for user "postgres"

If I do "su postgres" and then "psql -U postgres" then it does work. But I
need
testusr to be able to use psql.

Installed "gidentd", rebooted psql but that did not seem to help.

Any ideas? Thanks in advance

--------------------------------------------------------------------------

$ cat pg_hba.conf
# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD

# "local" is for Unix domain socket connections only
local   all         all                               trust
# IPv4 local connections:
host    all         all         127.0.0.1/32          trust
# IPv6 local connections:
host    all         all         ::1/128               trust

--------------------------------------------------------------------------


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

!DSPAM:14,440c330a49416961194852!




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

Предыдущее
От: ow
Дата:
Сообщение: pg_hba.conf + all + trust = Ident authentication failed for user "postgres"
Следующее
От: ow
Дата:
Сообщение: Re: pg_hba.conf + all + trust = Ident authentication failed for user "postgres"