take a look in the admin guide.
use online config with slapd.d. you can trigger readonly-mode with a simple ldif on the fly, using the olcReadOnly-Attribute
see: http://www.openldap.org/doc/admin24/slapdconf2.html#cn=config section: 5.2.5.3. olcReadonly { TRUE | FALSE }
Dieter KlÃnter writes...
man slapd.conf(5), readonly on
Thanks for the info.
So I would need to edit the .conf file and restart the service for this to take effect ?
Is there no "on the fly" solution similar to "FLUSH TABLES WITH READ LOCK;" for example ?
Thanks.