From: | John Neal <john(dot)neal(at)fedex(dot)com> |
---|---|
To: | "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | JBDC LDAP support |
Date: | 2014-07-18 19:53:07 |
Message-ID: | 77E6F1BFB524D44E97EAD7836AC9ECDB43759F6A@PWN60112.corp.ds.fedex.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc pgsql-novice |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Eric J. Van der Velden | 2014-07-19 12:10:09 | |
Previous Message | Ludwig Adam | 2014-07-18 13:02:58 | Re: Trace JDBC connection to Java Thread / local socket port |
From | Date | Subject | |
---|---|---|---|
Next Message | Gerald Cheves | 2014-07-20 03:09:24 | Re: JBDC LDAP support |
Previous Message | David G Johnston | 2014-07-18 12:15:07 | Re: PGSQL 9.3.2 COPY command issues |