Issue 6025 - ldapdelete cannot handle base64 encoded dns
Summary: ldapdelete cannot handle base64 encoded dns
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-15 22:49 UTC by Quanah Gibson-Mount
Modified: 2014-08-01 21:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Quanah Gibson-Mount 2009-03-15 22:49:32 UTC
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.

--Quanah
Comment 1 Howard Chu 2009-03-17 15:57:58 UTC
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/

Comment 2 Howard Chu 2009-03-17 15:59:01 UTC
changed notes
changed state Open to Closed
Comment 3 OpenLDAP project 2014-08-01 21:03:37 UTC
wrong