If you want play with shell and ldapsearch output, be sure your dn
entries are one per line. An perl script could be:
ldapsearch ... | perl -p -0040 -e 's/\n //'
On OpenLDAP 2.4.24 or later, ldapsearch and slapcat
have -o ldif-wrap=n option for that.
Use `ldapsearch -o ldif-wrap=no ...`
I think this (from previous comment) should be in the ldap-utils faq.
If you want play with shell and ldapsearch output, be sure your dn
entries are one per line. An perl script could be:
ldapsearch ... | perl -p -0040 -e 's/\n //'
Regards,
--
To UNSUBSCRIBE, email to
2 matches
Mail list logo