[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: slapcat generate extra "space" characters in LDIF output
- To: openldap-technical@openldap.org
- Subject: Re: slapcat generate extra "space" characters in LDIF output
- From: Emmanuel Lecharny <elecharny@gmail.com>
- Date: Thu, 09 Sep 2010 18:33:02 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=ubLue5wdcK74XF1XDFB0fC+mq4BYVgJjor0FBCjuOhU=; b=n9jqjOXB0lwMCe202HttOXWu5Mi/99+oi9mF0pxrPUxHRINfSP0fFNFXuJhPA2apBt xPSvfsvtOTr8H27TdA1dEmKkVFIFJh6YgIE4TxZtmSqb29IosBz7Xh8uBjWSzuUa6VCu l1F0Shy1daMX8yawLvbo1U0EyADcIdzXpEowg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=s4O8nUkI1Uyq+NNUMpONESl/a5QBGFc2qzFOBkPm6uaWvRSK0/fv/ILT0PR0RaGf70 3gGKnDmEoA44t05i9gDfbWKStNl4/DhXaJmWk3QsNuOHXxdp6oRVO1TdwDMhEdd2d27g 4yNPWpwbfbaglFF5x5SELNlKEKge0ak8xZiWM=
- In-reply-to: <87r5h4tkxu.fsf@magenta.l4b.de>
- References: <4C878B00.4090200@esiee.fr> <87r5h4tkxu.fsf@magenta.l4b.de>
- User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3
On 9/8/10 3:38 PM, Dieter Kluenter wrote:
Frank Bonnet<f.bonnet@esiee.fr> writes:
Hello
I'm in trouble with slapcat when generating a LDIF file
it puts some extra "space" characters into some dn longer than 80
characters.
is there a way to change the output format of slapcat command
to generate lines longer than 80 characters in the LDIF file ?
I need this because I need to duplicate our directory server
to another TLD and I need to substitute
dc=fr by dc=biz
but sometime I get this
------------------------------------------------dc=fr
sometime I get this
------------------------------------------------dc=
fr
This is intended behaviour, because the LDIF specifications (RFC2849)
require a max. line length of 76 characters,
Nope :
...
10) When an attrval-spec, distinguishedName, or rdn is base64-
encoded, the encoding rules specified in [5] are used with the
following exceptions: a) ***The requirement that base64 output
streams must be represented as lines of no more than 76
characters is removed.***
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com