My Oracle Support Banner

Creating an OracleContext in Microsoft Windows 2003 Active Directory (Doc ID 361192.1)

Last updated on FEBRUARY 02, 2022

Applies to:

Net Configuration Assistant - NetCA - Version to [Release 10.1 to 11.2]
Microsoft Windows x64 (64-bit)


An LDAP Schema is a collection of related entries (attributes, objectclasses) stored within an LDAP directory. An LDAP Context refers to all information relating to entries (users, groups, etc.) as well as their state.

An LDAP directory stores information (Schema/Context) pertaining to Oracle software under an entry called an Oracle Context (cn=OracleContext). An OracleContext may exist under any entry in a Directory Information Tree (DIT). Oracle Net Configuration Assistant (NetCA) can be used to create an OracleContext as well as to configure access to the directory. Once configured for directory access, Database Configuration Assistant (DBCA) can be used to register databases. Registration adds entries for databases and associated Oracle Net connect descriptors.

Though OracleContexts are typically created in Oracle Internet Directory (OID), they are not limited to using OID as their LDAP store. It is possible to create an OracleContext in a foreign Directory Schema, such as Microsoft Active Directory (AD).

The purpose of this article is to describe how to create an OracleContext within Microsoft Active Directory 2003.


This article is intended for Microsoft Windows System Administrators and Oracle Database Administrators looking to create an OracleContext within Microsoft Active Directory.

Oracle Internet Directory (OID) provides rich features and functionality. However, depending on deployment requirements, the use of an OracleContext collocated within an existing Active Directory Schema may be sufficient. This approach does not require additional hardware, administration or maintenance of a dedicated Oracle Internet Directory installation.

Creating an OracleContext within Active Directory requires that you already have a fully functional and correctly configured Active Directory server.
The procedure described uses the following topology and product versions:

Oracle Client

Active Directory Server

This article describes how to create an OracleContext within Microsoft Windows Server 2003 Enterprise Edition Active Directory, however other Windows Server 2003 Editions, such as Standard or Datacenter, may also be used. The various features of Windows 2003 Editions can be compared at

Note - Microsoft Windows 2003 Service Pack 1 was applied before the Server was promoted (dcpromo) to a standalone Domain Controller/DNS server in it's own forest.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 1. Configuring Active Directory
 1.1 Register Schema Management Library
 1.2 Start Microsoft Management Console (MMC)
 1.3 Add Active Directory Schema Snap-in
 1.4 Check Schema Permissions
 1.5 Grant Schema Write Privilege
 1.6 Extending the Schema
 1.7 Enable Anonymous Bind Operations
 2. Oracle Installation
 3. Creating an OracleContext
 3.1 Network Configuration Assistant (NetCA)
 3.2 Restart the Microsoft Management Console (MMC)
 3.3 Grant Write Permission to the OracleContext Container
 4. Debugging

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.