[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#650366: ldapsearch without line wrappings

package: debian-edu-config
severity: normal
version: svn-r74294

Hi all,

I recently discovered a problem when parsing ldapsearch output. Ldapsearch wraps lines longer than 78 chars (or so).

This article describes how to circumvent this:

## removes line wrappings: perl -p00e 's/\r?\n //g'

# Example
ldapsearch -xLLL -h oh.mighty.ldapserver -b dc=example,dc=com | perl -p00e 's/\r?\n //g'

The change should at least be applied to gosa-create in


But maybe there are more places where to fix this... The problem becomes evident if you have long DN strings in LDAP (that is: a versatile OU structure in the LDAP DIT).



mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419

GnuPG Key ID 0xB588399B
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de


Attachment: pgpAFOOZYja1R.pgp
Description: Digitale PGP-Unterschrift

Reply to: