From: | "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: postgres authentication |
Date: | 2007-08-08 18:15:07 |
Message-ID: | FE44E0D7EAD2ED4BB2165071DB8E328C03062B16@egcrc-ex01.egcrc.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)gallo(dot)ucsf(dot)edu
-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Tue 8/7/2007 9:31 PM
To: Tena Sakai
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] postgres authentication
"Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Browne | 2007-08-08 18:37:11 | Re: use replication on a database only on selected schemes? |
Previous Message | Andreas | 2007-08-08 18:00:34 | Re: ssl and odbc standar driver |