My Oracle Support Banner

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

Last updated on NOVEMBER 02, 2019

Applies to:

Oracle Internet Directory - Version 10.1.2 and later
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_HOSTNAME> -p <OID_PORT> -D "cn=orcladmin" -w <PASSWORD> -L -b "<OID_SEARCHBASE>" -s sub objectclass=*

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.