Ralf Haferkamp writes: >> I am currently testing the 3rd approach, the attributes will be >> created even when starting with -f only. I'll commit it as soon as >> make test finishes. > > Done. Please test.
Works fine, and passes "make test". One quirk, don't know if it's worth bothering with: If I define "attributeOptions foo" in slapd.conf and delete olcAttributeOptions with ldapmodify, the slapd log gets a line slapd: line 0: option "foo" is already defined The message disapperas if I have no "attributeOptions" in slapd.conf, which means cn=config gets the default "olcAttributeOptions: lang-". slapd.conf: include servers/slapd/schema/core.schema attributeOptions foo database config rootdn cn=config rootpw secret ldapmodify: dn: cn=config changetype: modify delete: olcAttributeOptions - output: conn=2 op=1 MOD dn="cn=config" conn=1 op=1 MOD attr=olcAttributeOptions slapd: line 0: option "foo" is already defined conn=1 op=1 RESULT tag=103 err=80 text= -- Hallvard
