I run OpenLDAP 2.6.2. I could successfully add a new custom schema with ldapadd
, but now I would like to remove the schema without stopping the OpenLDAP server. In other words I would like to use ldapdelete
instead of stopping the server and manually removing the schema file. However I get a Server is unwilling to perform
error.
$ sudo ldapdelete -Q -H ldapi:/// -Y EXTERNAL "cn={4}oauth,cn=schema,cn=config"
ldap_delete: Server is unwilling to perform (53)
Is it even possible to hot-remove a schema, or am I doing something wrong?