Re: postgres authentication

Поиск
Список
Период
Сортировка
От Tena Sakai
Тема Re: postgres authentication
Дата
Msg-id FE44E0D7EAD2ED4BB2165071DB8E328C03062B16@egcrc-ex01.egcrc.org
обсуждение исходный текст
Ответ на postgres authentication  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
Список pgsql-admin

Hi Tom,

Thanks for your comment/advice.  It is an improvement, but...

I adjusted the line in pg_hba.conf to:
    host    all     donder          172.16.XX.XX/32 ldap ldap://amarula.egcrc.org
and what I get as user donder is:
    -bash-3.00$ psql canon
    Password:
    psql: FATAL:  password authentication failed for user "donder"
In the serverlog file, I get:
    FATAL:  password authentication failed for user "donder"

I need a working ldap example for pg_hba.conf desparately.
Can somebody please help?

Also, if somebody can explain what the example on page 352 of 8.2.1
manual:
    ldap://ldap.example.net/dc=example,dc=net;EXAMPLE\
means, I would appreciate it greatly.

Regards,

Tena Sakai
tsakai@gallo.ucsf.edu


-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Tue 8/7/2007 9:31 PM
To: Tena Sakai
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] postgres authentication

"Tena Sakai" <tsakai@gallo.ucsf.edu> writes:
> and added the following line to pg_hba.conf file:
>     host    all     donder          ldap://amarula.egcrc.orgsent

I know nothing about ldap, but this is clearly not a correct host line:
you forgot the address field(s), and that last bit should be an option
not the auth method name.  I would imagine that what you need is
something like

host    all     donder  192.168.1.0/24  ldap ldap://amarula.egcrc.orgsent

(adjust address to suit, of course)

                        regards, tom lane

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

Предыдущее
От: Andreas
Дата:
Сообщение: Re: ssl and odbc standar driver
Следующее
От: "George Wilk"
Дата:
Сообщение: pg_restore ERROR