Re: Database DN in OID
Date: Thu, 11 Sep 2008 21:42:00 -0500
The TNS entry with name "jkstill" would be at cn=jkstill,cn=OracleContext,dc=sysidar,dc=corp. However, the real meat of the entry (service name, host, port) will be in the subtree entries below that one. Specifically:
doing this should show you all the relevant information (the three DNs listed above) for the jkstill entry:
$OH/bin/ldapsearch -h <ldapservername> -p <ldapport> -s sub -b cn=OracleContext,dc=sysidar,dc=corp (cn=jkstill)
Be careful to use $OH/bin/ldapsearch as many platforms have their own ldapsearch utility that may have different args/syntax.
Jared Still wrote:
> Does someone know where the DN is stored in OID for a database name?
> I've setup OID to replace Oracle Names, and would like to know where to
> actually find the entry directly in the DIT.
> Assuming dc=sysidar,dc=corp as a base.
> I know there is a database stored there, as it was configured for
> naming via netmgr, and tnsping shows that LDAP was used to resolve the
> Jared Still
> Certifiable Oracle DBA and Part Time Perl Evangelist