Home Contact Download

asyd.net

Welcome to Bruno Bonfils's (aka asyd homepage).

OpenDS: Enable audit log

The audit log records (in LDIF format) every changes on the directory.

dn: cn=File-Based Audit Logger,cn=Loggers,cn=config
changetype: modify
replace: ds-cfg-enabled
ds-cfg-enabled: true

Example:

dn: cn=File-Based Audit Logger,cn=Loggers,cn=config
changetype: modify
replace: ds-cfg-enabled
ds-cfg-enabled: true
-
replace: modifiersName
modifiersName: cn=Directory Manager,cn=Root DNs,cn=config
-
replace: modifyTimestamp
modifyTimestamp: 20081226233724Z