slaptest conversion does not configure monitor module
Bug #301898 reported by
Bryan McLellan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The intrepid package defaults to using -F and /etc/ldap/slapd.d. The postinst file uses slaptest to try to convert existing configurations to the newer directory format, however this does not configure the monitor backend module.
a 'olcDatabase=
This is particularly troubling as openldap still lacks the proper documentation for configuring monitoring using the new configuration layout:
To post a comment you must log in.
mkdir -p /tmp/slap/slapd.d slapd.conf -F /tmp/slap/slapd.d
# save attached config to /tmp/slap
slaptest -f /tmp/slap/
# works
# Edit /tmp/slapd/ slapd.d/ cn=config/ cn=module{ 0}.ldif and remove "olcModuleLoad: {1}back_monitor" slapd.conf -F /tmp/slap/slapd.d
slaptest -f /tmp/slap/
# does not work, will not modify existing file