[Pkg-openldap-devel] Bug#334354: ldap-utils: not a bug IMHO

Peter Marschall peter at adpm.de
Sat Feb 28 18:46:46 UTC 2009


Package: ldap-utils
Followup-For: Bug #334354

Hi,

I checked with OpenLDPA 2.4.15:
While it is true that ldapdelete cannot deal with base64-encoded DNs,
ldapmodify and the other tools that deal with LDIF files can.

IMHO it cannot be seen as a bug in ldapdelete that it does not extend
the notion of a base64-encoded value/DN from LDIF, where the double colon ::
after the attribute specification clearly indicates that a base64-encoded
value follows, to a command line argument where this distinction cannot be made.

Nonetheless there are at least two ways to delete entries with special chars in the DN:
- ldapmodify with a delta LDIF file and "changetype: delete"
- ldapdelete with a correctly escaped DN.
  e.g. for the DN in the bug:
    ldapdelete .... 'cn=ud-A204-8040\0D\0A\0D\0ATermi...'

Regards
Peter

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ldap-utils depends on:
ii  libc6                    2.7-18          GNU C Library: Shared libraries
ii  libgnutls26              2.6.4-2         the GNU TLS library - runtime libr
ii  libgssapi2-heimdal       1.2.dfsg.1-2.1  Heimdal Kerberos - GSSAPI support 
ii  libldap-2.4-2            2.4.15-1pm1     OpenLDAP libraries
ii  libsasl2-2               2.1.22.dfsg1-23 Cyrus SASL - authentication abstra

Versions of packages ldap-utils recommends:
ii  libsasl2-modules         2.1.22.dfsg1-23 Cyrus SASL - pluggable authenticat

ldap-utils suggests no packages.

-- no debconf information





More information about the Pkg-openldap-devel mailing list