Connect to multiple Oracle DBs via LDAP
hi, For a project, I try to connect to multiple oracle databases via LDAP (different LDAP url & context) . It's working fine for 1 database : sqlalchemy + cx_Oracle + sqlnet.ora & ldap.ora files.
Then I try to connect a 2st database, it doesn't work because it seems we can only declare 1 database with ora files (seems impossible to declare multiple LDAP context).
Does someone have an idea how to do that ? thanks in advance.
Tagging @onmp. It's not quite his area but he may be able to help.
Oracle Net Services uses parameters in sqlnet.ora and ldap.ora files to resolve a TNS alias stored in a LDAP server. LDAP server or servers provide a way to manage TNS aliases in a centralized manner. If the error is Oracle Net failed to resolve an TNS alias, move all the aliases under one LDAP context. If the error is something else, please be more specific about the error encountered.
Closing - no activity