oracle / odpi

ODPI-C: Oracle Database Programming Interface for Drivers and Applications
https://oracle.github.io/odpi/
Other
264 stars 75 forks source link

Connecting to an oracle database via LDAP #137

Closed travisdesell closed 3 years ago

travisdesell commented 4 years ago

We're trying to connect to an oracle database via LDAP and are wondering how we need to do this. Can we just have the connection string be something like:

ldap://<host>:<port>/<database>,<ldap params>

Or do we need to do something programmatically for this?

cjbj commented 4 years ago

LDAP is configured independently of ODPI-C by setting the connection string and network configuration files. There is some scattered info around, e.g https://github.com/oracle/node-oracledb/issues/1212#issuecomment-591940440 and https://stackoverflow.com/questions/31994159/how-do-you-connect-to-an-ldap-server-using-node-oracledb

ddevienne commented 4 years ago

I always thought it was a real shame one cannot use EZCONNECT and Instant-Client (Lite or not) to connect to an Oracle server using LDAP auth. FWIW :). Having to configure files for such a thing doesn't make any sense to me.

cjbj commented 4 years ago

Maybe @onmp can comment on what can be done currently or in future iwth https://download.oracle.com/ocomdocs/global/Oracle-Net-19c-Easy-Connect-Plus.pdf

anthony-tuininga commented 3 years ago

Closing due to lack of activity.