On Tue, Dec 4, 2012 at 04:31:51AM +0000, Peter Eisentraut wrote:
> Add support for LDAP URLs
>
> Allow specifying LDAP authentication parameters as RFC 4516 LDAP URLs.
>
> Branch
> ------
> master
>
> Details
> -------
> http://git.postgresql.org/pg/commitdiff/aa2fec0a18e4d23272c78916ef318078c920611a
>
> Modified Files
> --------------
> doc/src/sgml/client-auth.sgml | 37 +++++++++++++++++++++++++
> src/backend/libpq/auth.c | 2 +-
> src/backend/libpq/hba.c | 59 ++++++++++++++++++++++++++++++++++++++++-
> src/include/libpq/hba.h | 1 +
> 4 files changed, 97 insertions(+), 2 deletions(-)
I am seeing this compile error in Debian Squeeze:
hba.c: In function ‘parse_hba_auth_opt’:
hba.c:1388: error: ‘LDAP_SCOPE_SUBTREE’ undeclared (first use in this function)
hba.c:1388: error: (Each undeclared identifier is reported only once
hba.c:1388: error: for each function it appears in.)
hba.c:1451: error: ‘LDAPURLDesc’ undeclared (first use in this function)
hba.c:1451: error: ‘urldata’ undeclared (first use in this function)
hba.c:1452: warning: ISO C90 forbids mixed declarations and code
hba.c:1452: warning: unused variable ‘rc’
make[3]: *** [hba.o] Error 1
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +