Re: JBDC LDAP support

From: Gerald Cheves <gcheves(at)verizon(dot)net>
To: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: JBDC LDAP support
Date: 2014-07-20 03:09:24
Message-ID: 53CB32E4.6060700@verizon.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-novice

Hi John,

There is LDAP authentication in PostgreSQL.

Check out the PostgreSQL Documentation, section 19.3.8
http://www.postgresql.org/docs/9.3/static/auth-methods.html
and https://wiki.postgresql.org/wiki/LDAP_Authentication_against_AD

- Gerald
On 7/18/2014 3:53 PM, John Neal wrote:
>
> Does the postgres JDBC driver include LDAP support? I was able to get
> psql to connect via LDAP using pg_service.conf (so I can confirm that
> the LDAP entry is correct), but a majority of our applications use
> jdbc to connect.
>
> For example, normally our java apps would connect to Oracle with a url
> like this:
>
> jdbc:oracle:thin:@ldap://oid.myserver.com/ABC_APP_L3,cn=OracleContext
>
> However, I'm not able to find a way to accomplish similar with
> postgres. I've confirmed that the driver
> (postgresql-9.3-1102.jdbc4.jar) works when specifying the hostname,
> dbname, and port. When using LDAP, this is what I would expect, but it
> doesn't work.
>
> jdbc:postgresql:@ldap:// oid.myserver.com/ ABC_APP_L3,cn=PostgresContext
>
> I'd appreciate any advice.
>
> John Neal
>

--
siamo arrivati sani e salvi

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message arunkmp 2014-07-21 05:06:38 Re: Slow statement when using JDBC
Previous Message Dave Cramer 2014-07-19 13:15:12 Re:

Browse pgsql-novice by date

  From Date Subject
Next Message spake 2014-07-20 03:49:36 Re: PGSQL 9.3.2 COPY command issues
Previous Message John Neal 2014-07-18 19:53:07 JBDC LDAP support