Thursday, November 21, 2013

Ora Files (Oracle)

Set TNS_ADMIN="C:\orahome\network" rem  Umgebungsvariable TNS_ADMIN zeigt an wo oracle folgende netzwerk config  files sucht:

sqlnet.ora ... haupt netzwerk config file, gibt an in welcher reihenfolge folgende files verabeitt werden:
tnsnames.ora ... wie host file, direkt angabe von sid verbindungsinformationen
ldap.ora => ldap server, der auch sid auflöst

Beispiel sqlnet.ora:
# sqlnet.ora Network Configuration File: C:\oracle\11gR2\client\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.

# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.

SQLNET.AUTHENTICATION_SERVICES= (NTS)

NAMES.DIRECTORY_PATH= (TNSNAMES, LDAP, EZCONNECT)

No comments: