[Bug 301898] Re: slaptest conversion does not configure monitor module

2009-03-09 Thread Bryan McLellan
Wow, I have no idea what I was thinking back then.

Most likely, the problem was the switch to the slapd.d directory really
only lets you run slaptest once. Once the directory exists, you're stuck
with it. Unless of course you delete the directory, edit slapd.conf, and
run slaptest again.

I think my ignorance that you could delete the slapd.d folder safely and
rerun slaptest was at play, combined with the lack of any documentation
[at the time] for configuring monitoring in the new format.

-- 
slaptest conversion does not configure monitor module
https://bugs.launchpad.net/bugs/301898
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 301898] Re: slaptest conversion does not configure monitor module

2009-03-09 Thread Mathias Gug
Thank you for taking the time to report this bug and helping to make
Ubuntu better.

I've successfully converted the attached slapd.conf. Even though
cn=module{1}.ldif doesn't exist, back_monitor is available in
cn=module{0}.ldif:

math...@intrepid-base:~/d/cn=config$ cat cn\=module\{0\}.ldif 
dn: cn=module{0}
objectClass: olcModuleList
cn: module{0}
olcModulePath: /usr/lib/ldap
olcModuleLoad: {0}back_hdb
olcModuleLoad: {1}back_monitor
structuralObjectClass: olcModuleList
entryUUID: e879a08a-a14e-102d-9f99-51c73c9858e4
creatorsName: cn=config
createTimestamp: 20090309233650Z
entryCSN: 20090309233650.678062Z#00#000#00
modifiersName: cn=config
modifyTimestamp: 20090309233650Z

Marking this bug invalid as back_monitor is configured after the
upgrade.

** Changed in: openldap (Ubuntu)
   Status: New => Invalid

-- 
slaptest conversion does not configure monitor module
https://bugs.launchpad.net/bugs/301898
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 301898] Re: slaptest conversion does not configure monitor module

2008-11-24 Thread Bryan McLellan
mkdir -p /tmp/slap/slapd.d
# save attached config to /tmp/slap
slaptest -f /tmp/slap/slapd.conf -F /tmp/slap/slapd.d
# works

# Edit /tmp/slapd/slapd.d/cn=config/cn=module{0}.ldif and remove 
"olcModuleLoad: {1}back_monitor"
slaptest -f /tmp/slap/slapd.conf -F /tmp/slap/slapd.d
# does not work, will not modify existing file

** Attachment added: "slapd.conf with monitor configuration"
   http://launchpadlibrarian.net/19918749/slapd.conf

-- 
slaptest conversion does not configure monitor module
https://bugs.launchpad.net/bugs/301898
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs