Adding entry in OID

Advertisement

Adding entry in OID
Hi All
For resolving DB naming convention using OID, I have added entry as below for BSBGBAU1.smtest02
where smtest02 is new domain
dn :cn=BSBGBAU1,cn=OracleContext,dc=smtest02
objectclass: top
objectclass: orclNetService
cn:BSBGBAU1.smtest02
orclNetDescString: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=smtest02)(PORT=1523))(CONNECT_DATA=(SID=BSBGBAU1)))
so when i execute the command tnsping bsbgbau1.smtest02 it show
/app/oracle/product/10203/network/admin/sqlnet.ora
Used LDAP adapter to resolve the alias
Attempting to contact (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=smtest02)(PORT=1523))(CONNECT_DATA=(SID=BSBGBAU1)))
OK (10 msec)
Now I want to resolve following using tnsping bsbgbau1 but it fails as below
TNS Ping Utility for Solaris: Version 10.2.0.3.0 - Production on 11-FEB-2009 11:58:06
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Used parameter files:
/app/oracle/product/10203/network/admin/sqlnet.ora
TNS-03505: Failed to resolve name
How can this be resolved.
thax
Kedar
Repaly
Your cn definition must be the same used on dn definition
dn: cn=BSBGBAU1,cn=OracleContext,dc=smtest02
cn: BSBGBAU1
--Julio                                                                                                                                                                                                                                                                                       
Read More: The other 4 answers