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

Re: How to set BDB "read-only" before slapcat command ?



2009/2/9 Quanah Gibson-Mount <quanah@zimbra.com>:

> I'm not sure why you feel it is necessary to set the server read-only before
> you run slapcat anyway.

It was purely in relation to point 18.1.2 in this doc...

http://www.openldap.org/doc/admin24/maintenance.html

To quote...

"Slapcat can be run while slapd is active. However, one runs the risk
of an inconsistent database- not from the point of slapd, but from the
point of the applications using LDAP. For example, if a provisioning
application performed tasks that consisted of several LDAP operations,
and the slapcat took place concurrently with those operations, then
there might be inconsistencies in the LDAP database from the point of
view of that provisioning application and applications that depended
on it. One must, therefore, be convinced something like that won't
happen. One way to do that would be to put the database in read-only
mode while performing the slapcat."