Re: (ITS#6025) ldapdelete cannot handle base64 encoded dns

quanah@OpenLDAP.org wrote:
> Full_Name: Quanah Gibson-Mount
> Version: RE24/HEAD
> OS: NA
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (75.111.29.239)
>
>
> As noted in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=334354 the OpenLDAP
> ldapdelete utility cannot handle base-64 encoded DNs, even though the other
> ldap* tools can. It would add to the tool consistency for ldapdelete to conform
> with the other tools in this respect.
Why are you bothering to report this now, when the original bug was filed in
2005 and went unanswered until last month?
I agree with Peter Marschall's response - this is not a bug, and your
assertion "other ldap* tools can" is false.
ldapdelete is documented to take a list of DNs. It does *NOT* say that it
takes them in LDIF format, and LDIF is the only relevant format specification
that uses base64. As such, "DN" should only be taken to mean RFC4514 compliant
strings.
The only tool that accepts LDIF is ldapmodify (and ldapadd is just a symlink
to ldapmodify). All of the other tools are specifically documented to take
DNs, not LDIF.
This ITS will be closed.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/