Issue 7871 - slapcat ldif-wrap option produced wrong column length
Summary: slapcat ldif-wrap option produced wrong column length
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.39
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-04 05:54 UTC by mwarren@symas.com
Modified: 2014-10-23 07:31 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 Howard Chu 2014-06-04 00:54:41 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 1 mwarren@symas.com 2014-06-04 05:54:06 UTC
Full_Name: Mark Warren
Version: 2.4.39
OS: Debian 6 x86_64
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (72.35.133.119)


It appears that the slapcat option '-o ldif-wrap=n' is not properly followed. 

e.g, this:
 
slapcat -o ldif-wrap=30 

will produce a file with 32 columns not including the newline character.

Regards,
Mark
Comment 2 Howard Chu 2014-06-04 07:31:52 UTC
mwarren@symas.com wrote:
> Full_Name: Mark Warren
> Version: 2.4.39
> OS: Debian 6 x86_64
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (72.35.133.119)
>
>
> It appears that the slapcat option '-o ldif-wrap=n' is not properly followed.
>
> e.g, this:
>
> slapcat -o ldif-wrap=30
>
> will produce a file with 32 columns not including the newline character.

Yes, we already detailed this in ITS#7859 followup #1.

-- 
   -- 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 3 Quanah Gibson-Mount 2014-06-12 13:33:08 UTC
changed notes
changed state Test to Release
Comment 4 OpenLDAP project 2014-10-23 07:31:43 UTC
fixed in master
fixed in RE25
fixed in RE24
Comment 5 Quanah Gibson-Mount 2014-10-23 07:31:43 UTC
changed notes
changed state Release to Closed