← Back to team overview

touch-packages team mailing list archive

[Bug 1064758] Re: ldapdelete fails on recursive deletes

 

That version is no more supported; and backport is not expected as its
not a 'security' problem

** Changed in: openldap (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openldap in Ubuntu.
https://bugs.launchpad.net/bugs/1064758

Title:
  ldapdelete fails on recursive deletes

Status in openldap package in Ubuntu:
  Invalid

Bug description:
  ldapdelete -Wx -H ldapi:/// -r dc=test,dc=example,dc=com
  Enter LDAP Password:
  ldap_delete: Other (e.g., implementation specific) error (80)
  ldap_delete: Operation not allowed on non-leaf (66)
   additional info: subordinate objects must be deleted first

  The top level of the database is dc=example,dc=com.  There are a
  couple of hundred subordinate entries under dc=test,dc=example,dc=com.
  According to the ldapdelete man page:

         -r     Do a recursive delete.  If the DN specified isn't  a  leaf,  its
                children,  and all their children are deleted down the tree.  No
                verification is done, so if you add this switch, ldapdelete will
                happily delete large portions of your tree.  Use with care.

  I would expect that this would delete the entire branch of the LDAP
  tree from dc=test,dc=example,dc=com on down.

  Possibly related issue:

  http://www.openldap.org/lists/openldap-software/200504/msg00391.html

  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: slapd 2.4.21-0ubuntu5.7
  ProcVersionSignature: Ubuntu 2.6.32-42.96-server 2.6.32.59+drm33.24
  Uname: Linux 2.6.32-42-server x86_64
  Architecture: amd64
  Date: Tue Oct  9 18:27:01 2012
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: openldap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1064758/+subscriptions