No such option in OpenLDAP 2.4.23 as delivered with RHEL 6.
man ldapsearch shows the only general option documented
On 10/28/2012 3:45 PM, Pierangelo Masarati wrote:
> Use ldapsearch -o ldif-wrap=no instead.
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (220.127.116.11)
>> RFC 2849 states:
>> 2) Any non-empty line, including comment lines, in an LDIF file
>> MAY be folded by inserting a line separator (SEP) and a
>> Folding MUST NOT occur before the first character of the
>> In other words, folding a line into two lines, the first of
>> which is empty, is not permitted. Any line that begins with
>> single space MUST be treated as a continuation of the
>> (non-empty) line. When joining folded lines, exactly one
>> character at the beginning of each continued line must be
>> discarded. Implementations SHOULD NOT fold lines in the
>> of a multi-byte UTF-8 character.
>> OpenLDAP (ldapsearch at least) has taken implemented that folding
>> behavior for LDIF output.
>> This causes trouble for anyone trying to use 'ldapsearch | grep
>> for one simple example.
>> Would you accept a patch to allow an option which disables line
Dipartimento di Ingegneria Aerospaziale
Politecnico di Milano