[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6592) slapadd allows objects with objectClass doublets



Full_Name: Kolbjørn Barmen
Version: 2.4.23
OS: Linux, Debian Lenny
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (2001:700:1:0:158:38:62:199)


I had problems getting syncrepl working, and it the culpit turned out to be
doublets of "objectClass: organizationalRole" for given objects. This seems to
not have been a problem with old 2.3.30 with old replication mechanics, but for
syncrepl it seems critical.  When upgrading from 2.3.30 to 2.4.23
slapcat/slapadd was used.

Example from ldif:

dn: cn=admin,dc=foo,dc=no
objectClass: organizationalRole
objectClass: top
objectClass: simpleSecurityObject
objectClass: organizationalRole
...

It would be very helpfull if slapadd could detect such obvious fail in ldif-data
and spit a warning (when not using -q at least).