Hello,
a) Do not use Ubuntu's utterly broken build of OpenLDAP, to start with. You may want to try the builds from the LTB project.
b) Ubuntu no longer uses the deprecated slapd.conf. It uses the cn=config database. So you're changes to the slapd.conf (included for reference, not use) are ignored. You probably should read up on the slapd.config man page.
Thank you for your answer. I spent quite a lot of time reading various man pages including the one for slaps.conf(5), of course. As I mentioned, there is no slapd-config on my system. [How] is it possible that system is configured cn=config without it? Is there a way to determine whether slapd.conf is used and where the daemon is trying to find it, short of doing a system call trace?
Also, is there a command to list loadable modules in use?
Sincerely,
Igor Shmukler