[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: incomplete slapcat





--On Wednesday, October 04, 2006 11:58 AM -0400 Robert Petkus <rpetkus@bnl.gov> wrote:

matthew sporleder wrote:



What does a slapcat with the -f <config file> produce?

(To Karsten Kunne's point)
Also, the slapo-accesslog man page states:
These slapd.conf options apply to the  Access  Logging  overlay.   They
      should  appear  after  the  overlay directive and before any
subsequent
      database directive.

Maybe your database is, in fact, getting corrupted by poor ordering.

Interesting. I read that as the accesslog overlay options "logdb", "logops", "logpurge" should be listed <under> the overlay directive but <before> a database directive. That would seem to contradict the example in the man page which I based my configuration on:

	    database bdb
	    suffix cn=log
	    ...
	    index reqStart eq

	    database bdb
	    suffix dc=example,dc=com
	    ...
	    overlay accesslog
	    logdb cn=log
	    logops writes reads

<http://www.connexitor.com/forums/viewtopic.php?t=3>

and I still recommend listing the monitor backend last. ;) Your configuration snippets look right to me.


My master has:

#######################################################################
# accesslog database definitions
#######################################################################
database    hdb
suffix      cn=accesslog
directory   /var/lib/ldap/accesslog
rootdn      cn=accesslog
index       default     eq
index       entryCSN
index       objectClass
index       reqEnd
index       reqResult
index       reqStart


####################################################################### # stanford.edu database definitions #######################################################################

database    hdb
suffix      "dc=stanford,dc=edu"
rootdn      "cn=manager,dc=stanford,dc=edu"

...

overlay     accesslog
logdb       cn=accesslog
logops      writes
logsuccess  TRUE
logpurge    07+00:00    01+00:00


--Quanah


-- Quanah Gibson-Mount Principal Software Developer ITS/Shared Application Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html