[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
structuralObjectClass: no user modification allowed
- To: OpenLDAP-software@OpenLDAP.org
- Subject: structuralObjectClass: no user modification allowed
- From: Fernando Ramírez Sánchez <fernando.ramirez@horus.es>
- Date: Mon, 11 Apr 2005 10:55:04 +0200
- Organization: HORUS HARDWARE S.A.
- User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)
Hi all,
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
The ldif file is
....
dn: cn=SIBAS,ou=AP,o=hnss,dc=sanidad,dc=es
cn: SIBAS
description: SISTEMA INFORMATICO DE BANCO DE SANGRE
objectClass: device
structuralObjectClass: device
.....
if I erase structualObjectClass line it works.
Any configuration need in LDAP Server or in backup and restore tools?
Thanks.
[root@horus19 openldap]# /opt/openldap/bin/ldapadd -f
/opt/openldap/ldap_Fri.ldif -c -x -D "cn=Manager,dc=sanidad,dc=es" -w
criminal
adding new entry "dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "cn=Manager,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "o=hnss,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "ou=AP,o=hnss,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "ou=DM,o=hnss,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "ou=DG,o=hnss,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "ou=DE,o=hnss,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "cn=SIGLO,ou=AP,o=hnss,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "cn=ADMIN,cn=SIGLO,ou=AP,o=hnss,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "cn=FBIO,cn=SIGLO,ou=AP,o=hnss,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "cn=FHEMA,cn=SIGLO,ou=AP,o=hnss,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "cn=FMICRO,cn=SIGLO,ou=AP,o=hnss,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "cn=SIBAS,ou=AP,o=hnss,dc=sanidad,dc=es"
adding new entry "cn=GACELA,ou=AP,o=hnss,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "cn=GALENO,ou=AP,o=hnss,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "cn=ACLA,ou=DM,o=hnss,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "cn=NEF,ou=DM,o=hnss,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "uid=1,cn=ACLA,ou=DM,o=hnss,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "uid=2,cn=NEF,ou=DM,o=hnss,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "o=hurh,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "ou=AP,o=hurh,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "ou=DM,o=hurh,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "ou=DG,o=hurh,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "ou=DE,o=hurh,dc=sanidad,dc=es"
adding new entry "o=hpz,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "ou=AP,o=hpz,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "ou=DM,o=hpz,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "ou=DG,o=hpz,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "ou=DE,o=hpz,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "cn=ACLA,ou=DM,o=hpz,dc=sanidad,dc=es"
adding new entry "uid=2,cn=ACLA,ou=DM,o=hpz,dc=sanidad,dc=es"
adding new entry "cn=ACLA,ou=DM,o=hurh,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "uid=3,cn=ACLA,ou=DM,o=hurh,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "cn=car,ou=DM,o=hpz,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "o=HCs,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "ou=AP,o=HCs,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "ou=DM,o=HCs,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "ou=DG,o=HCs,dc=sanidad,dc=es"
ldap_add: Already exists (68)
adding new entry "ou=DE,o=HCs,dc=sanidad,dc=es"
ldap_add: Already exists (68)
[root@horus19 openldap]#
--
------------------------------------------------------------------------
Fernando Ramírez Sánchez
Director de Proyecto
HORUS HARDWARE S.A.
Pol. Ind Europolis M 4
28230 Las Rozas (Madrid)
Tlf:
91 710 32 56
Fax:
91 710 36 94
www.horushardware.com