[Date Prev][Date Next]
Re: structuralObjectClass: no user modification allowed
Ok, but I would like to create the ldif file without the
structuralObjectClass line. Is it posible?
The ldif file is created with slapcat
François Beretti wrote:
Fernando Ramírez Sánchez wrote:
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.
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
if I erase structualObjectClass line it works.
Any configuration need in LDAP Server or in backup and restore tools?