I am running OpenLDAP's slapd
on Fedora 14, and I see that in the directory for the database, there is a log.0000000001
file. I would like to be able to read this file, as I am interested in recent transactions that have occurred. How do I read this file?
For the common Berkeley DB,
db4-utils
package including some tools to manipulate:But if you use
db_printlog
to read the Berkeley log files from OpenLDAP, you will get the below errors:The reason is OpenLDAP shipped with internal copy tools of
db-4.3
:So, try this:
Not sure how to read that file, but you can look a "recently" created or modified entries with
ldapsearch "(|(createTimestamp>=20110927221035Z)(modifyTimestamp>=20110927221035Z))" dn creatorsName createTimestamp modifiersName modifyTimestamp
OpenLDAP can use syslog facilities to log many things. Don't know if (or with what verbosity) Fedora 14 does this by default (or under your environment). (You probably checked for this already so likely not sufficient.)
A closer answer to your question as asked could be found at http://www.openldap.org/faq/data/cache/738.html before the links went stale. Though it all seems to lead to Oracle documentation, which is unsurprising.