Ticket 47326 - idl switch does not work
Bug Description: Setting nsslapd-idl-switch to "old" always gets converted
to "new", as the server tries to update the idl type.
This makes it impossible to test the "old" idl processes.
Fix Description: Added a new ldbm config setting to control if we do the upgrade
check or not: "nsslapd-idl-update". The default is "on". This
still allows the server to update the type by default, but if
you must use "old", then you must turn the "update" off.
Also did some minor code cleanup, and fixed some small memory leaks.
https://fedorahosted.org/389/ticket/47326
Reviewed by: Noriko(Thanks!)