You might want to track access and changes to your LDAP directory. You can use the LDAP directories change log to keep track of changes to the directory. The change log is located under the special suffix cn=changelog. It is stored in the QUSRDIRCL library.
To enable the change log, follow these steps:
The changeLogEntry object class is used to represent the changes applied to the directory server. The set of changes is given by the ordered set of all entries within the change log container as defined by changeNumber. The change log information is read-only.
Any user who is on the access control list for the cn=changelog suffix can search the entries in the change log. You should only execute searches on the change log suffix, cn=changelog. Do not attempt to add, change, or delete the change log suffix, even if you have authority to do so. This will cause unpredictable results.
Example:
The following example uses the ldapsearch command line utility to retrieve all change log entries logged on the server:
ldapsearch -h ldaphost -D cn=admininistrator -w password -b cn=changelog (changetype=*)