Hello everybody.
I have an openldap 2.4+ and I added a custom schema. In my ldap I have a lot of entries which use this schema. I just want to know how can add fields (update) to this schema ?
My first idea is to create a new ldif file containing the new schema description, stopping the server, removing the old schema and replace it by the new one and then try to restart the server but I don't know if there is a better way to do this.
Thanks you very much for your help.
Cyrill Gremaud
Gremaud Cyrill wrote:
I have an openldap 2.4+ and I added a custom schema. In my ldap I have a lot of entries which use this schema. I just want to know how can add fields (update) to this schema ?
Thanks you very much for your help.
Without knowing your schema nobody can say anything meaningful.
General hints: - You cannot change a structural object class of an entry. - It can get tricky if you change set of MUST attributes.
Ciao, Michael.
Michael Ströder wrote:
Gremaud Cyrill wrote:
I have an openldap 2.4+ and I added a custom schema. In my ldap I have a lot of entries which use this schema. I just want to know how can add fields (update) to this schema ?
Thanks you very much for your help.
Without knowing your schema nobody can say anything meaningful.
General hints:
- You cannot change a structural object class of an entry.
- It can get tricky if you change set of MUST attributes.
To add: - If you use back-config you cannot remove schema descriptions. - It's sometimes helpful to mark obsolete schema descriptions with keyword OBSOLETE.
Ciao, Michael.
openldap-technical@openldap.org