Upgrade? This ITS will be closed. > No such option in OpenLDAP 2.4.23 as delivered with RHEL 6. > > man ldapsearch shows the only general option documented > is nettimeout > > ?? > > On 10/28/2012 3:45 PM, Pierangelo Masarati wrote: >> Use ldapsearch -o ldif-wrap=no instead. >> >> p. >> >>> Full_Name: >>> Version: >>> OS: >>> URL: ftp://ftp.openldap.org/incoming/ >>> Submission from: (NULL) (96.228.233.77) >>> >>> >>> 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 >>> SPACE. >>> Folding MUST NOT occur before the first character of the >>> line. >>> In other words, folding a line into two lines, the first of >>> which is empty, is not permitted. Any line that begins with >>> a >>> single space MUST be treated as a continuation of the >>> previous >>> (non-empty) line. When joining folded lines, exactly one >>> space >>> character at the beginning of each continued line must be >>> discarded. Implementations SHOULD NOT fold lines in the >>> middle >>> 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 >>> <something>' >>> for one simple example. >>> >>> Would you accept a patch to allow an option which disables line >>> folding? >>> >>> >>> >>> >> >> > > > >
-- Pierangelo Masarati Associate Professor Dipartimento di Ingegneria Aerospaziale Politecnico di Milano
