My Oracle Support Banner

Useful ldapsearches for Managing OID Entries (Doc ID 1291481.1)

Last updated on AUGUST 30, 2023

Applies to:

Oracle Internet Directory - Version 10.1.2 and later
Information in this document applies to any platform.


This document consists of a list of commands that can be used to find various sorts of information from OID.

NOTE: Although many of the commands may be used in 11g OID, only where it is specifically indicated has the command been tested for this version. Otherwise, the commands apply to 10g OID.




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.  Searches of the OID Server Entries
 1.1.  List of object classes and attributes:
 1.2.  Root DSE / DSA Config
 1.3.  Indexed attributes
 1.4.  ACIs
 1.5.  A configset
 1.6.  All running instances:
 1.7.  OID version:
 1.8.  Last change number:
 1.9.  Number of entries in OID
 1.10.  Number of entries of a particular objectclass, say 'inetorgperson'
 1.11.  Total number of attributes for all users
 1.12.  To get the ODS password:
 1.13.  To find any duplicate DNs:
 1.14.  How to determine which schema owns a tablespace:
 1.15.  How to identify db sessions connected by 'ODS' schema
 2.  DIP Related Searches
 2.1.  To verify that AD admin can read the 'container' of directory entries to be synched:
 2.2.  DIP Sync configset:
 2.3.  DIP Sync & Prov configsets:
 2.4.  A Sync Profile:
 2.5.  A Sync Profile from the db:
 2.6.  All Sync Profiles:
 2.7.  Sync Profile Group:
 2.8.  Provisioning Profiles:
 2.9.  All Integration profiles, including Provisioning (but not OCS):
 2.10.  To load a map file to a profile:
 2.11.  Plug-in info:
 2.12.  All AD users:
 2.13.  Changelog info:
 3.  Replication Related Searches
 3.1.  All replication information:
 3.2.  Replication instance info:
 3.3.  Both oidrepld and oidldapd instance details:
 3.4.  Replication ids:
 3.5.  A replication agreement:
 3.6.  Replication agreement, with LACN:
 3.7.  ASR (database level replication) info:
 3.8.  To find the REPADMIN schema:
 4.  Searches for OID Custom Entries
 4.1.  DNs in some container:
 4.2.  Groups a user is a member of:
 4.3.  Members of a group:
 4.4. Non-Members of a group:
 4.5.  Number of members in a group:
 4.6.  A single user:
 4.7.  A subtree:
 4.8.  Users with a recently changed password or recently created:
 4.9.  Service names info:
 4.10.  Lastlogintime from a specific date range
 5.  Searches regarding OIDDAS
 5.1.  My Profile details:
 5.2.  Default subscriber / Realm settings:
 6.  Searches in the Audit Log
 6.1.  Audit log entries:
 7.  Searches for Portal Entries
 7.1.  To get a Portal group:
 7.2.  GUID for a Portal user:
 7.3.  Portal password:
 8.  Searches for Password Policy Details
 8.1.  Password policy settings:
 9.  Searches for Referral Entries
 9.1.  Referral objects:
 10.  Searches for Server Chaining
 10.1.  Server Chaining setup:
 11.  Loading Entries to Another OID
 12.  Searches for Applications
 12.1.  Sorting Results:

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