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

Re: LDBM slapadd accepts orphaned entries (ITS#3339)



Since back-ldbm has undergone such little change, I suspect you'll find 
this behavior going
back several releases. Have you tried this on 2.0 or 2.1?

h.b.furuseth@usit.uio.no wrote:

>Full_Name: Hallvard B Furuseth
>Version: HEAD
>OS: 
>URL: 
>Submission from: (NULL) (129.240.186.42)
>Submitted by: hallvard
>
>
>slapd.conf:
>  include    /scratch/hbf/etc/openldap/schema/core.schema
>  database   ldbm
>  directory  /scratch/hbf/var/openldap-data
>  suffix     dc=uio,dc=no
>  index	     objectClass eq
>
>test.ldif:
>  dn: ou=foo,ou=bar,dc=uio,dc=no
>  objectClass: organizationalUnit
>  ou: foo
>
>OTOH, BDB catches the error.  I haven't checked HDB.
>Maybe the bug was introduced when BDB slapadd was modified to accept
>entries out of order?
>
>
>
>
>  
>


-- 
  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support