From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | bo gu <coopci(at)msn(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: how to enable ldap authentication |
Date: | 2011-10-24 14:40:06 |
Message-ID: | 1195.1319467206@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
bo gu <coopci(at)msn(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Ian Harding | 2011-10-24 14:41:37 | Re: Recovery from Archive files |
Previous Message | Adrian Klaver | 2011-10-24 14:34:40 | Re: PostGIS in a commercial project |