--On Friday, October 18, 2024 3:19 PM +0000 sharbich@t-online.de wrote:
Hello, unfortunately I missed the update version note for the schema ppolicy. After updating and restarting the slapd service, I can no longer delete the schema. I get the following error message:
"root@dsme01:~# slapcat -n0 > config.ldif olcAttributeTypes: value #0 olcAttributeTypes: Duplicate attributeType: "1.3.6.1.4.1.42.2.27.8.1.1" config error processing cn={15}ppolicy,cn=schema,cn=config: olcAttributeTypes: Duplicate attributeType: "1.3.6.1.4.1.42.2.27.8.1.1" slapcat: bad configuration file!"
Backup your slapd.d directory, like:
cp -r /etc/openldap/slapd.d /etc/openldap/slapd.d.recovery
Then cd /etc/openldap/slapd.d/cn=config/cn=schema
ls *.ldif rm <ppolicy schema file>
--Quanah