Fernando Ramírez Sánchez wrote:
Hi all,
Hi Fernando,
I did a ldif file backup from OpenLDAP server using slapcat.
I restored this file with ldapadd. I get the following error
ldap_add: Constraint violation (19)
additional info: structuralObjectClass: no user modification
allowed
[.....]
if I erase structualObjectClass line it works.
As the error said, you don't have the right to write the value of this
attribute. This is an internal attribute, handled by slapd. Moreover,
you don't need it to create the entry, as it gives (I believe) the
lower objectClass in the structural objectClasses inheritence chain of
the entry. I don't see the benefit of writing it. So remove it from
your LDIF file.
François
Any configuration need in LDAP Server or in backup and restore tools?
Thanks.
[