0

The JDBC connection I should use is defined in Oracle SQL Developer with the following syntax:

jdbc:oracle:thin:@ldap://intranet.oid-01.dama.ch:3063/EDWHPD,cn=OracleContext,dc=emea,dc=dama,dc=ch 

But with Ruby on Rails, I don't use JDBC. I use Ruby-oci8 gem.

I should probably get the server name or the SID from the LADP resource, but how can I do this?

Thanks for your help!

2
  • OCI8 should support sqlnet.ora and tnsnames.ora settings, which would define LDAP sources for TNS lookups. Commented Jan 10, 2023 at 15:33
  • Did you try just the simple alias, i.e. EDWHPD Commented Jan 10, 2023 at 15:41

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.