How To Avoid Line Breaks In ldapsearch Output When Using "-L" Option (Doc ID 407076.1)

Last updated on JULY 01, 2016

Applies to:

Oracle Internet Directory - Version: 10.1.2 to 10.1.4.3 - Release: 10gR2 to 10gR3
Information in this document applies to any platform.

Goal

How to avoid the line breaks (carriage return) in the result of an ldapsearch when using the "-L" option?

For example:

ldapsearch -h <OID_host> -p <OID_port> -D "cn=orcladmin" -w <password> -L -b "<searchbase>" -s sub objectclass=*

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms