Search Postgresql Archives

Re: how to enable ldap authentication

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

 



bo gu <coopci@xxxxxxx> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux