[Fedora-directory-users] Unlimited line width for ldapsearch

Howard Wilkinson howard at cohtech.com
Mon Jul 30 07:26:00 UTC 2007


Wilmer Jaramillo M. wrote:
> I found that ../shared/bin/ldasearch only show a output of 76 chars
> per line, and manual page not described how be longer the output, i
> want set the line-width used to implement filter in long strings 'OU'
> in perl scripts. Also i found a very simple patch for ldapsearch of
> openldap tools in:
> http://www.openldap.org/lists/openldap-bugs/199912/msg00099.html
> openldap it does not have support still.
> 	
> Probably some method of Net::LDAP can do it, I'm investigating a
> module or regex that can help me in this, any suggestion? thanks.
>
>
>
>   
Take a look at Net::LDAP::LDIF an option to new is called 'wrap' which 
is normally set to 78 (one space, 76 printing characters, and the 
newline for continuation lines) this should give you what you want.

-- 

Howard Wilkinson

	

Phone:

	

+44(20)76907075

Coherent Technology Limited

	

Fax:

	

 

23 Northampton Square,

	

Mobile:

	

+44(7980)639379

United Kingdom, EC1V 0HL

	

Email:

	

howard at cohtech.com

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20070730/17901d59/attachment.html>


More information about the 389-users mailing list