ChangeLog Data Handling
All directories provide some kind of change log information. Nevertheless, the format is different depending on the vendor. DirX Identity can handle change logs from:
-
DirX
-
iPlanet
-
OID
If any other directory provides the same change log formats as one of these, DirX Identity can handle it.
The next topics describe the data formats and examples of how to handle change log information.
DirX ChangeLog Format
DirX provides the LDIF agreement mechanism to produce changeLog information in the form of LDIF content and LDIF change files.Compared with the iPlanet and OID mechanism the handling of deletions is more powerful (they keep only the distinguished name of the deleted entry, DirX can keep a configurable amount of additional information).
Please refer to the DirX documentation for any details.
iPlanet and OID Formats
The directories of iPlanet and OID support the same changeLog format.The following formats are supported:
-
Add object
-
Delete object
-
Modify object
-
Modify DN
Add Object Format
Example of a iPlanet or OID add object format:
Changenumber=207, cn=changelogentry objectclass=top objectclass=changelog targetdn=cn=Shrivastava Saurabh,ou=metadirectory,o=oracle,dc=com changetype=Add operationtime=19991029153546z servername=lisa orclguid= orclparentguid=0003968768547206753582316869442 changenumber=207 orclchangeretrycount=0 changes=objectclass:inetOrgPerson objectclass:OrganizationalPerson objectclass:Person objectclass:Top cn:Shrivastava Saurabh cn:Shrivastava cn:Saurabh cn:Saurabh Shrivastava cn:sshrivas employeenumber:22 givenname:Saurabh sn:Shrivastava title:Mr.X mail:sshrivas@us.oracle.com.X telephonenumber:650-574-9107 postaladdress:1067 Foster city Blvd $Apt B$Foster city CA=94404-X l:Foster city orclguid:0003968769422514087583716869442 creatorsname:cn=orcladmin createtimestamp:19991029153546z
Delete Object Format
Example of a iPlanet or OID delete object format:
Changenumber=208, cn=changelogentry objectclass=top objectclass=changelog targetdn=cn=tinker,ou=development,o=pqr,c=us changetype=Delete operationtime=20000210133720z servername=lisa orclguid=0003968768107540635577316869442 orclparentguid= changenumber=208 orclchangeretrycount=0 changes
Modify Object Formats
Example of a iPlanet or OID modify object format to modify an existing value of an attribute:
Changenumber=209, cn=changelogentry objectclass=top objectclass=changelog targetdn=CN=Morton, OU=Development, O=PQR, C=US changetype=Modify operationtime=20000210133841z servername=lisa orclguid=0003968768107540227577216869442 orclparentguid= changenumber=209 orclchangeretrycount=0 changes=Replace:description^1^20000210133841z^lisa description:Deep Sea Diver-NEW
Example of a iPlanet or OID modify object format to delete an attribute:
Changenumber=212, cn=changelogentry objectclass=top objectclass=changelog targetdn=cn=digger,ou=sales,o=pqr,c=us changetype=Modify operationtime=20000210140635z servername=lisa orclguid=0003968768123436474582116869442 orclparentguid= changenumber=212 orclchangeretrycount=0 changes=delete:description^2^20000210140635z^lisa
Example of a iPlanet or OID modify object format to add another recurring value to a multi value attribute:
Changenumber=210, cn=changelogentry objectclass=top objectclass=changelog targetdn=CN=Morton, OU=Development, O=PQR, C=US changetype=Modify operationtime=20000210133841z servername=lisa orclguid=0003968768107540227577216869442 orclparentguid= changenumber=210 orclchangeretrycount=0 changes=Replace:postalcode^1^20000210133841z^lisa postalcode:WV1 9QY postalcode:second-value
Example of a iPlanet or OID modify object format to delete a value of a multi value attribute:
Changenumber=211, cn=changelogentry objectclass=top objectclass=changelog targetdn=CN=Morton, OU=Development, O=PQR, C=US changetype=Modify operationtime=20000210133842z servername=lisa orclguid=0003968768107540227577216869442 orclparentguid= changenumber=211 orclchangeretrycount=0 changes=Replace:telephonenumber^1^20000210133842z^lisa telephonenumber:+44 1902 777777 telephonenumber:+44 1902 999999
Modify DN Format
Example of a iPlanet or OID modify DN format with new parent:
Changenumber=214, cn=changelogentry objectclass=top objectclass=changelog targetdn=cn=new-digger,ou=sales,o=pqr,c=us changetype=moddn operationtime=20000210140914z servername=lisa orclguid=0003968768123436474582116869442 orclparentguid=0003968768098195444576516869442 changenumber=214 orclchangeretrycount=0 changes=newrdn:cn=digger deleteoldrdn:4294967295 newSupDN:ou=development,o=pqr,c=us