On Thu, Oct 26, 2006 at 12:28:17AM +0200, Pierangelo Masarati wrote:
Ian A. Tegebo wrote:
Is there a way to turn off dynamic config support in 2.3.X? After looking at the Admin Guide, man pages, mailing lists, and the FAQ-O-Matic I've failed to figure out how to do it; is it possible?
I was expecting to find something like --enable-dynamic-config=no or maybe a slapd option.
Dynamic configuration is now bundled into slapd (and slaptools, of course); however, if you don't instruct it to create a permanent config database and use it (namely via -F option), you can keep using slapd.conf seamlessly. Moreover, if you don't provide an entry point to dynamic configuration, by not explicitating the "database config", no dynamic configuration can occur via protocol. Is this enough?
Thanks for the reply. I'm afraid I'm still confused. I wasn't sure what you meant by "using slapd.conf seamlessly"; do you mean that by not specifying the -F option I would be using "static configuration"?
My initial setup wasn't using -F and I was still getting a warning about my backend not supporting dynamic config. Next I did specify a directory for -F as well as a config file with -f as per the man page for slapd. This created files as expected for my BDB backend but it still gave me the same error for my java backend. This resulted in slapd not starting.
So I think I'm confused because with and without -F I'm still getting a warning in my debug output as well as a non-starting slapd.
Thanks for your time,
-- Ian Tegebo