Skip Headers

Oracle® Application Server Release Notes
10g Release 2 (10.1.2) for Solaris Operating System (SPARC)
Part No. B14500-01
  Go To Documentation Library
Home
Go To Table Of Contents
Contents

Previous
Previous
Next
Next
 

15 Oracle Internet Directory

This chapter describes issues associated with Oracle Internet Directory. It includes the following topics:

15.1 General Issues and Workarounds

This section describes general issues and their workarounds for Oracle Internet Directory. It includes the following topic:

15.1.1 Plug-in Features Not Supported in a Directory Server Running Against Oracle9i Database Server Release 2

Oracle Internet Directory10g Release 2 (10.1.2) can use several different versions of the Oracle Database for storing directory data. These include Oracle9i Database Server Release 2, v9.2.0.6 or later and Oracle Database 10g, v10.1.0.4 or later.

In Oracle Application Server 10g Release 2 (10.1.2), the following plug-in features are not supported in the directory server running against Oracle9i Database Server Release 2:

  • Windows NT Domain external authentication plug-in.

  • The simple_bind_s() function of the LDAP_PLUGIN package provided as the OID PL/SQL PLUGIN API for connecting back to the directory server as part of plug-in definitions.

15.2 Configuration Issues and Workarounds

This section describes configuration issues and their workarounds for Oracle Internet Directory. It includes the following topics:

15.2.1 Changing Naming Contexts When Relied on for Partial Replication Is Not Supported

If you are configuring partial replication from specific naming contexts in an Oracle Internet Directory node to fan-out replication nodes, then do not change the names of these naming context entries in the source node.

15.2.2 Refer to the File ias.properties after Installing Oracle Internet Directory for LDAP Port Assignment

During installation of Oracle Application Server or third-party products, you are prompted for an Oracle Internet Directory or LDAP port. To find the specific port number assigned to Oracle Internet Directory at installation, see the file $ORACLE_HOME/config/ias.properties. Look for the entries OIDport and OIDsslport.

The default port for enabling LDAP at Oracle Internet Directory installation time is 389. The Oracle Installer always tries that port as its first choice. However, on many UNIX machines, /etc/services includes a line for LDAP reserving port 389. With that line there, the Installer opts instead for a port number between 3060 to 3129, inclusive.

To confirm the port at which Oracle Internet Directory is running, simply run the ldapbind command-line tool, supplying either the host name and port number specified in the portlist.ini file or an alternative port specified during the Oracle Internet Directory installation.

15.2.3 Required Attributes Cannot Be Excluded from Partial Replication

Partial replication enables you to exclude certain attributes from replication. You do this by adding those attributes to the excludedAttributes attribute of the cn=NamingContext entry. However, if you exclude required attributes, then replication fails.

Attributes that cannot be excluded are specified in the Oracle Internet Directory Administrator's Guide. These can include attributes not considered mandatory for user-defined object class definitions. For example, even if cn is an optional attribute for one or more user-defined object class definitions, it still cannot be excluded from partial replication.

15.2.4 Using Oracle Application Server Repository Creation Assistant (RepCA) Can Generate File Creation Error Message

When you use the Oracle Application Server tool RepCA to load Oracle Internet Directory schema into an existing Oracle 10.1.0.3 Database, you might see the following error message in the $ORACLE_HOME/assistants/repca/log/repca*log file:

SP2-0332: Cannot create spool file.

This error message can be ignored.

15.2.5 Do Not Install DaimondCS Port Explorer

Oracle Internet Directory will not work if DaimondCS Port Explorer is installed on the system.

15.3 Post-Upgrade Tasks

This section describes tasks you should perform immediately after upgrading to 10g Release 2 (10.1.2). It includes the following topics:

15.3.1 Set ACL Policy on Groups Container after Upgrade from Release 9.0.2

When upgrading Oracle Internet Directory from Release 9.0.2 to Release 10.1.2, the following ACL policy needs to be set on the groups container in the realm. The ACL policy should allow members of the group cn=Common Group Attributes,cn=groups,Oracle_Context_DN browse, search, and read access for private and public groups—that is, for groups where orclIsVisible is either not set or is set to TRUE or FALSE. This ACL is described in the Oracle Internet Directory Administrator's Guide, in Chapter 17, in the section "Default Privileges for Reading Common Group Attributes".

The "Common Group Attributes" group is used by OracleAS Portal to query private and public groups. The ACI must to be added on the groups container. Change the Realm DN to the DN of the Realm and the DN of groups container in the realm to the appropriate group search base.

dn: DN of groups container in the realm
changetype: modify 
add: orclaci 
orclaci: access to entry filter=(!(orclisvisible=false)) by group="cn=Common Group Attributes,cn=groups, cn=Oracle Context, Realm DN" (browse) 
orclaci: access to attr=(*) filter=(!(orclisvisible=false)) by group="cn=Common Group Attributes,cn=groups,cn=Oracle Context, Realm DN" (search, read) orclaci: access to entry filter=(orclisvisible=false) by group="cn=Common Group Attributes,cn=groups,cn=Oracle Context, Realm DN" (browse) 
orclaci: access to attr=(*) filter=(orclisvisible=false) by group="cn=Common Group Attributes,cn=groups, cn=Oracle Context, Realm DN" (search, read)

15.3.2 Change Value of orclpkimatchingrule After Upgrade

After you upgrade to 10.1.2, the default value of the DSA configuration attribute orclpkimatchingrule is incorrectly set to 0. Please use the ldapmodify command to set the value to 2, by typing:

ldapmodify -h host -p port_number -D bind_DN -w bind_DN_password -f file_name

where file_name is the following LDIF file:

dn: cn=dsaconfig,cn=configsets,cn=oracle internet directory
changetype: modify
replace: orclpkimatchingrule
orclpkimatchingrule: 2 

15.4 Administration Issues and Workarounds

This section describes administration issues and their workarounds for Oracle Internet Directory. It includes the following topics:

15.4.1 Oracle Internet Directory Servers Can Be Started Only by the Operating System User Who Installed the Oracle Internet Directory Software

The Oracle Internet Directory servers—that is, the directory server, the directory replication server, and the directory integration and provisioning server daemons—can be started only by the operating system user who installed the Oracle Internet Directory software.

15.4.2 Unlocking Privileged User Accounts

Oracle Identity Management has two distinct types of privileged user. Both privileged user accounts can be locked if certain password policies are activated.

The first type of privileged user, the super user with the DN cn=orcladmin, is represented as a special user entry found within the default identity management realm. It enables directory administrators to make any modifications to the DIT and any changes to the configuration of Oracle Internet Directory servers. If the super user (orcladmin) account is locked—for example, as a result of too many attempts to bind with an incorrect password—then an administrator with DBA privileges to the Oracle Internet Directory repository can unlock it by using the oidpasswd tool. To unlock the orcladmin account execute the command:

oidpasswd unlock_su_acct=TRUE

The second privileged user, a realm-specific privileged user, governs capabilities such as creation and deletion of users and groups within a realm and all the functionality related to Oracle Delegated Administration Services. This account is represented by an entry with the DN cn=orcladmin,cn=users,realm DN. Note that, in contrast to the single super user account, each realm has its own realm-specific privileged user. To unlock the realm-specific privileged account, the first type of privileged user, cn=orcladmin, can modify the account password by using Oracle Directory Manager.

15.4.3 Restarting Directory Replication and Directory Integration and Provisioning Server Instances in Real Application Cluster or Rack-Mounted Mode

If the primary node running either the directory replication server (oidrepld), or the directory integration and provisioning server (odisrv), or both, fails, then the OID Monitor on the secondary node starts these processes on the secondary node after five minutes. However, normal shutdown is not treated as a failover. When the primary node is restarted manually, these servers are not automatically restarted on the primary node.

15.4.4 Partial Replication Will Not Replicate Changes to the Root Entry of a Naming Context

Partial replication will not replicate changes to the root entry of a naming context made by using ldapmoddn.

15.4.5 ODS Database User Password Can Be Changed Only by Using the oidpasswd Tool

To change the ODS database user password, you must use the oidpasswd tool. If you change the ODS database user password by any other means, then Oracle Internet Directory instances fail to start.

15.4.6 Application Server Control Does Not Display Port Status Information if Oracle Directory Server is Running in SSL Mode Only

The Application Server Control does not display the port status information for Oracle directory servers running only in SSL mode.

15.5 Documentation Errata

This section describes errors in the documentation for Oracle Internet Directory. It includes these topics:

15.5.1 Parameters in init$ORACLE_SID.ora are Not Loaded Automatically at Database Startup

At startup, the database reads database initialization parameters from spfile$ORACLE_SID.ora rather than from init$ORACLE_SID.ora—unless the user explicitly specifies the latter when starting the database. Thus, wherever the Oracle Internet Directory Administrator's Guide specifies database parameter changes, the subsequent database restart must specify explicitly the init$ORACLE_SID.ora file. For example:

<>SQL> STARTUP PFILE = /u01/oracle/dbs/initmynewdb.ora 

For more information, see "Using SQL*Plus to Start Up a Database" in Chapter 3 of Oracle Database Administrator's Guide

15.5.2 StopOdiServer.sh Tool Syntax is Incorrect

The path name and usage for the StopOdiServer.sh tool described in Appendix A, "Syntax for LDIF and Command-Line Tools" in the section "Stopping the Oracle Directory Integration and Provisioning Server Without Using OID Monitor and the OID Control Utility" are displayed incorrectly. The path name should be:

$ORACLE_HOME/ldap/odi/admin/stopodiserver.sh

The usage is:

$ORACLE_HOME/ldap/odi/admin/stopodiserver.sh
        [ -LDAPhost LDAP_server_host ]
        [ -LDAPport LDAP_server_port ]
        [ -binddn super_user_dn (default cn=orcladmin ) ]
        [ -bindpass bind_password (default=welcome) ]
        -instance instance_number_to_stop

15.5.3 Figures 27-1, 27-2, and 29-1 are Incorrect

In Chapter 27 of Oracle Internet Directory Administrator's Guide, Figures 27-1, "Architecture of an Oracle Application Server Cluster (Identity Management) Configuration," and 27-2, "Load Balancing in an Oracle Application Server Cluster (Identity Management) Configuration," the Directory Integration Server is shown running on all the nodes. It should be shown only on Node A.

In Chapter 29 of Oracle Internet Directory Administrator's Guide, Figure 29-1, "Oracle Internet Directory with Basic High Availability Configuration," Node 1 should be running the following server processes:

  • Oracle Directory Server Instance 1

  • Oracle Directory Integration Server

  • Oracle Directory Replication Server

  • Oracle Database Server Instance 1

Node 2 should be running the following server processes:

  • Oracle Directory Server Instance 2

  • Oracle Database Server Instance 2

15.5.4 ldifwrite Command Line is Incorrect

In Oracle Internet Directory Administrator's Guide, the ldifwrite command line in the section of Chapter 25 entitled "Task 4: Back up the Sponsor Node by Using ldifwrite" is incorrect. The command line is shown as:

ldifwrite -c connect_string \
          -b "orclAgreementID=000001,cn=replication_configuration" \
          -f output_ldif_file 

It should be:

ldifwrite -c connect_string \
          -b "orclAgreementID=000001,cn=replication configuration" \
          -f output_ldif_file 

That is, there should be a space, not a "_" in cn=replication configuration.

15.5.5 ldapsearch Command Line is Incorrect

In Oracle Internet Directory Administrator's Guide, the ldapsearch command is frequently shown with the filter in single quotes. This is incorrect because you must use double quotes with the filter. For example, this command line is incorrect:

ldapsearch -h host_name -p port_number -s base -b "" 'objectclass=*' lastchangenumber

This command line is correct:

ldapsearch -h host_name -p port_number -s base -b "" "objectclass=*"lastchangenumber 

15.5.6 Oracle Identity Management Concepts and Deployment Planning Guide—Figure B-1 and Description are Incorrect

In Figure B-1 in Oracle Identity Management Concepts and Deployment Planning Guide, two instances of Distributed Configuration Management are shown on each of the hosts. There should be only one instance of Distributed Configuration Management on each host.

In addition, the two paragraphs of text above the figure are incorrect. Please substitute the following two paragraphs:

In Figure B-1, the MASTER Oracle Identity Management node is installed on HOST 1 using a default Identity Management install with Metadata Repository, Oracle Internet Directory, Oracle Directory Integration and Provisioning, Oracle Application Server Single Sign-On and Oracle Delegated Administration Services.

Similarly, the REPLICA Oracle Identity Management node is installed on HOST 2 using a default Identity Management install with Metadata Repository, Oracle Internet Directory, Oracle Directory Integration and Provisioning, Oracle Application Server Single Sign-On, and Oracle Delegated Administration Services.

15.5.7 All References to the ods_server Role are Incorrect

In Oracle Internet Directory 10g Release 2 (10.1.2), the ods_server role no longer exists. Chapter 32 of Oracle Internet Directory Administrator's Guide and Chapter 5 of Oracle Identity Management Application Developer's Guide incorrectly show the use of the GRANT EXECUTE statement to grant execute permission to ods_server for the plug-in modules. Do not include a line such as

GRANT EXECUTE ON LDAP_PLUGIN_EXAMPLE1 TO ods_server;

in a PL/SQL program to be invoked by a plug-in in 10g Release 2 (10.1.2).