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

RE: deleting entries from bdb fails with subtree delete not supported (ITS#1774)



A fix has just been applied to HEAD.

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

> -----Original Message-----
> From: owner-openldap-bugs@OpenLDAP.org
> [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of
> norbert.klasen@daasi.de
> Sent: Wednesday, April 24, 2002 1:34 PM
> To: openldap-its@OpenLDAP.org
> Subject: deleting entries from bdb fails with subtree delete not
> supported (ITS#1774)
> 
> 
> Full_Name: Norbert Klasen
> Version: head 2002-04-22
> OS: SuSE Linux 7.3
> URL: 
> Submission from: (NULL) (62.104.216.83)
> 
> 
> Hi,
> with OpenLDAP 2.1-head and a bdb backend, entries that once had 
> subordanate
> entries cannot be deleted:
> adding new entry "o=test,c=de"
> 
> adding new entry "cn=user1,o=test,c=de"
> 
> adding new entry "cn=user2,o=test,c=de"
> 
> deleting entry "cn=user2,o=test,c=de"
> 
> deleting entry "cn=user1,o=test,c=de"
> 
> deleting entry "o=test,c=de"
> ldap_delete: Operation not allowed on nonleaf
>         additional info: subtree delete not supported
> 
> 
> LDIF to reproduce this behavior:
> 
> dn: o=test,c=de
> changetype: add
> o: test
> objectclass: organization
> 
> dn: cn=user1,o=test,c=de
> changetype: add
> cn: user1
> sn: user1
> objectclass: person
> 
> dn: cn=user2,o=test,c=de
> changetype: add
> cn: user2
> sn: user2
> objectclass: person
> 
> dn: cn=user2,o=test,c=de
> changetype: delete
> 
> dn: cn=user1,o=test,c=de
> changetype: delete
> 
> dn: o=test,c=de
> changetype: delete
> 
> 
> 
> 
>