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

Re: (ITS#6860) slapadd accepts duplicate objectclasses



dieter@dkluenter.de wrote:
> Full_Name: Dieter Klünter
> Version: 2.4.24
> OS: SLES11_x64
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (84.142.18.17)
>
>
> A ldif generator created  out of a total of 100,000 entries 10,000 entries with
> duplicate objectclasses i.e.
>
> dn: cn=Michelina Al-Basi,ou=Accounting,ou=bremen,dc=dkluenter,dc=de
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> cn: Al-BasiM
> sn: Al-Basi
>
> This ldif has been loaded by slapadd without any warnings. The only parameter
> applied where -l and -f.

This is normal. slapadd doesn't do validation, you are expected to feed it 
valid output from slapcat. This documented behavior has not changed in a decade.

Closing this ITS.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/