Re: postgres authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: RE: postgres authentication

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@xxxxxxxxxxxxxx


-----Original Message-----
From: Tom Lane [mailto:tgl@xxxxxxxxxxxxx]
Sent: Tue 8/7/2007 9:31 PM
To: Tena Sakai
Cc: pgsql-admin@xxxxxxxxxxxxxx
Subject: Re: postgres authentication

"Tena Sakai" <tsakai@xxxxxxxxxxxxxx> 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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux