为了进行测试,我在本地DB_ONE中重写了tnsnames.ora条目。存在一个具有所有连接的全局tnsnames.ora。export TNS_ADMIN=/path/to/local/tnsnames:/path/to/global/tnsnames
这样,我就可以像预期的那样连接到DB_ONE on my_new.server是否有一种“硬”覆盖的方法,使sqlplus只尝试本地tnsnames.ora的tnsn
我一直试图查询LDAP目录服务器以检索tnsname条目。我有下面的代码工作,但它闻起来不对。这是因为它是错误的,还是因为查询ldap涉及几个级别的间接。 use connection = new LdapConnection (identifier) let request = System.DirectoryServices.Protocols.SearchReques