14.3 Overview of Requirements for Using Oracle Database with Active Directory
To use Net Directory Naming with Active Directory, you must have supported Windows operating system and Oracle software releases, and you must create Oracle schema objects and an Oracle Context.
Note:
-
The Oracle schema objects and Oracle Context can both be created by running Oracle Net Configuration Assistant.
-
Regardless of the Oracle Database Client and Oracle Database releases you are using, you must be running in a Windows Server domain to integrate Net Directory Naming with Active Directory.
Topics:
- Creating Oracle Schema Objects
You must create Oracle schema objects to use net directory naming features with Active Directory. - Creating an OracleContext
You must create an Oracle Context to use net directory naming features with Active Directory. - About Directory Naming Software Requirements
Directory naming method maps connect identifiers to connect descriptors contained in Microsoft Active Directory server.
14.3.1 Creating Oracle Schema Objects
You must create Oracle schema objects to use net directory naming features with Active Directory.
Schema objects are sets of rules for Oracle Net Services and Oracle Database entries and their attributes stored in Active Directory. The following restrictions apply to creating Oracle schema objects to use with Active Directory:
-
Only one Oracle schema object can be created for each forest.
-
The Windows server domain controller must be the operations master that allows schema updates. See your operating system documentation for instructions.
To create an Oracle schema object:
-
Log in as a member of Schema Administrator group or as a member who has rights to update the schema into schema master domain. The logged in client computer must be a part of the schema master domain. Schema master domain administrators are schema administrators by default.
-
Use Oracle Net Configuration Assistant to create the Oracle schema object. You can create your schema object during or after database installation.
If the Active Directory display is not configured to accept all 24 default languages, then Oracle schema object creation can fail while Oracle Net Configuration Assistant is configuring Active Directory as the directory server. Before running Oracle Net Configuration Assistant to complete directory access configuration, verify that the display specifiers for all 24 languages are populated by entering the following at the command prompt:
ldifde -p OneLevel -d cn=DisplaySpecifiers,cn=Configuration,domain context -f temp file
For this command, note the following:
-
domain
context
is the domain context for this Active Directory server.For example,
dc=example
,dc=com
. -
temp
file
is a file where you want to put the output.
If the command reports that fewer than 24 entries were found, then you can still use Oracle Net Configuration Assistant. However, the report indicates that the Oracle schema object creation failed, rather than simply reporting that display specifiers for some languages were not created.
When the Oracle Net Configuration Assistant report shows failure due to less than 24 entries found, create display specifiers manually.
Creating Display Specifiers Manually
When Oracle Net Configuration Assistant creates the Oracle schema object in Active Directory, the display specifiers for Oracle entries are not created. This means you cannot view Oracle database entries in Active Directory interfaces.
You can manually add these entries into Active Directory after the Oracle schema object has been created by doing the following, using the same Windows user identification you used when creating the Oracle schema object with Net Configuration Assistant:
Related Topics
14.3.2 Creating an OracleContext
You must create an Oracle Context to use net directory naming features with Active Directory.
Oracle Context is the top-level Oracle entry in the Active Directory tree. It contains Oracle Database service and Oracle Net service name object information.
-
You can create only one Oracle Context for each Windows server domain (administrative context).
-
You must have the necessary permissions to create domain and enterprise objects to create the Oracle Context in Active Directory with Oracle Net Configuration Assistant.
-
Use Oracle Net Configuration Assistant to create your Oracle Context. You can create the Oracle Context during or after Oracle Database Custom installation.
Topics:
- Running Oracle Network Configuration Assistant
Oracle Net Configuration Assistant is a graphical, wizard-based tool used to configure and manage Oracle Network configurations.
See Also:
-
Oracle Database Installation Guide for Microsoft Windows for installation procedures
-
Oracle Database Net Services Administrator's Guide for configuration procedures
14.3.3 About Directory Naming Software Requirements
Directory naming method maps connect identifiers to connect descriptors contained in Microsoft Active Directory server.
A directory server provides central administration of database services and net service names, making it easier to add or relocate services.
Use Oracle Enterprise Manager or Oracle Net Manager to create net service names. To use Microsoft Active Directory naming method, the Oracle Database Client must run on supported Windows operating systems. You must have Oracle Database that is required for registering the database service as an object in Active Directory. The database server can run on any of the supported operating system, not necessarily Windows operating system.
By default, directory naming adaptor connects anonymously to active directory. Authenticated naming method requires client computer to be a part of the active directory domain to resolve a database service or net service name to a connect descriptor stored in a central directory server of its domain.
NAMES.LDAP_AUTHENTICATE_BIND=
true
parameter in sqlnet.ora
file enables authenticated naming method.