[Date Prev][Date Next] [Chronological] [Thread] [Top]

making ldapsearch not to split lines



I have bash script that does this:
 hostDN=( $(ldapsearch .... | grep '^dn' | cut -d ' ' -f 2) )
The problem is that if the 'dn' line is too long, ldapsearch splits it
to several lines according to LDIF rules.

Is there any way to tell ldapsearch not to split lines (or does it
depends on server side?)

--
Zaar