Viewing Oracle Internet Directory Release Numbers

Oracle Internet Directory has a server release number, which is the version of the binaries. It also has schema and context versions. All of these numbers correspond to the Oracle Fusion Middleware installation release number through the third digit. These numbers may be updated when you apply a patch set release or upgrade the installation.

 

Viewing the Oracle Internet Directory Server Release Number

The Oracle Internet Directory server release number is the version of the binaries. You can view the Oracle Internet Directory server release number as follows:

  1. Ensure that the ORACLE_HOME environment variable is set.
  2. Run the following command:
    (UNIX) ORACLE_HOME/bin/oidldapd -version
    (Windows) ORACLE_HOME\bin\oidldapd -version

 

Viewing the Oracle Internet Directory Schema and Context Versions

You can view the Oracle Internet Directory schema and context versions in this file:

(UNIX) ORACLE_HOME/ldap/schema/versions.txt
(Windows) ORACLE_HOME\ldap\schema\versions.txt

The contents of this file are kept up-to-date, however, you can also query the schema and context release from Oracle Internet Directory, just to be sure.

To view the schema version:

  1. Ensure that the ORACLE_HOME environment variable is set.
  2. Run the following command:
    ldapsearch -h oid_host -p oid_port -D "cn=orcladmin" 
    -q -b "cn=base,cn=oracleschemaversion" 
    -s base "objectclass=*" orclproductversion

    Because you use the -q option, the command prompts you for your password.

    The output is in this form:

    cn=BASE,cn=OracleSchemaVersion
    orclproductversion=90500

To view the context version:

  1. Ensure that the ORACLE_HOME environment variable is set.
  2. Run the following command:
    ldapsearch -h oid_host -p oid_port -D "cn=orcladmin"
    -q -b "cn=oraclecontext" -s base "objectclass=*" orclversion

    Because you use the -q option, the command prompts you for your password.

    The output is in this form:

    cn=oraclecontext
    orclversion=101200

Leave a Reply

Your email address will not be published. Required fields are marked *