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.
    – pmdba
    Jan 10 at 15:33
  • Did you try just the simple alias, i.e. EDWHPD Jan 10 at 15:41

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.