Oracle® Internet Directory Administrator's Guide 10g (9.0.4) Part Number B12118-01 |
|
Synchronization with Third-Party Metadirectory Solutions, 3 of 5
To enable third-party metadirectory solutions to retrieve changes from Oracle Internet Directory, perform the tasks described in this section.
To bootstrap a directory to synchronize data between a local directory and Oracle Internet Directory, do the following:
lastChangeNumber
.
To find the number of the last change recorded in Oracle Internet Directory, use ldapsearch. Enter the following command:
ldapsearch -h host_name -p port_number -s base -b "" 'objectclass=*' lastchangenumber
If the change log does not contain change entries because they have been purged, then the last change number retrieved is 0
(zero).
"ldifwrite Syntax" for instructions on using ldifwrite
See Also:
To enable a third-party metadirectory solution to synchronize with Oracle Internet Directory, you must create a change subscription object for it in Oracle Internet Directory. This gives the third-party metadirectory solution access to change log objects stored in Oracle Internet Directory.
The change subscription object is an entry located under the following container in Oracle Internet Directory:
cn=Subscriber Profile,cn=ChangeLog Subscriber,cn=
Oracle Internet Directory
This change subscription object provides a unique credential for a third-party metadirectory solution to bind with Oracle Internet Directory and to retrieve changes from it. You associate the change subscription object with the auxiliary object class orclChangeSubscriber
. This object class has several attributes, of which the following are mandatory:
userPassword
Password to be used by the directory when accessing the change log object in Oracle Internet Directory
orclLastAppliedChangeNumber
Number of the change applied during the last synchronization. This attribute allows the directory to retrieve only the changes in Oracle Internet Directory it has not already applied.
To create a change subscription object, use ldapadd. The following example uses an input file, named add.ldif
, to create and enable a change subscription object, named my_change_subscription_object
, under the container cn=Subscriber Profile,cn=ChangeLog Subscriber,cn=
Oracle Internet Directory. The orclLastAppliedChangeNumber
is the current change number in the directory before initial bootstrapping--in this example, 250.
add.ldif
:
dn: cn=my_change_subscription_object,cn=Subscriber Profile,cn=ChangeLog Subscriber,cn=Oracle Internet Directory userpassword: my_password orclLastAppliedChangeNumber: 250 orclSubscriberDisable: 0 objectclass: orclChangeSubscriber objectclass: top
ldapadd -h my_host -p 389 -f add.ldif
See Also:
"Disabling and Deleting Change Subscription Objects" for instructions on temporarily disabling change subscription objects or deleting them altogether |
|
![]() Copyright © 1999, 2003 Oracle Corporation. All Rights Reserved. |
|