Score:0

How to delete a schema with OpenLDAP without service interruption?

cn flag

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?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.