Re: how to enable ldap authentication - Mailing list pgsql-general

From Tom Lane
Subject Re: how to enable ldap authentication
Date
Msg-id 1195.1319467206@sss.pgh.pa.us
Whole thread Raw
In response to how to enable ldap authentication  (bo gu <coopci@msn.com>)
List pgsql-general
bo gu <coopci@msn.com> writes:
> It seemed the executable was compiled with ldap:
> ldd /usr/local/pgsql/bin/postgres
>         libldap-2.2.so.7 => /usr/lib64/libldap-2.2.so.7 (0x0000002a956ed000)                           <----

I agree, that executable looks to have ldap support.

> But when I ran pg_ctl start, it exits without listening any port and I got this:
> tail postgresql-2011-10-24_104954.log
> LOG:  invalid authentication method "ldap": not supported by this build
> CONTEXT:  line 97 of configuration file "/usr/local/pgsql/databases/tudouapi/pg_hba.conf"

But this one doesn't.  Are you sure you invoked
/usr/local/pgsql/bin/postgres, and not some other copy?

            regards, tom lane

pgsql-general by date:

Previous
From: Edoardo Panfili
Date:
Subject: Re: PostGIS in a commercial project
Next
From: Andy Colson
Date:
Subject: Re: Adding a unique number to each record in a table