Subject: Re: CVS commit: pkgsrc/mail/sqwebmail
To: None <jlam@netbsd.org>
From: John Darrow <John.P.Darrow@wheaton.edu>
List: pkgsrc-changes
Date: 01/24/2002 19:01:44
Johnny C. Lam <jlam@netbsd.org> wrote:
>Do some editting of the output returned by OpenLDAP's ldapsearch so that
>it can be parsed by SqWebMail.  SqWebMail expects output to be of the
>form
>	class1=name1
>	class2=name2
>	...
>
>but the output from ldapsearch seems to be
>
>	class1: name1
>	class2: name2

Try removing the '-L' from the ldapsearch command line.  This should
give you the form you want, without any sed munching whatsoever.

jdarrow

-- 
John Darrow - Senior Technical Specialist               Office: 630/752-5201
Computing Services, Wheaton College, Wheaton, IL 60187  Fax:    630/752-5968
Pager via email: 6303160707@alphapage.airtouch.com      Pager:  630/316-0707
Email: John.P.Darrow@wheaton.edu (plain text please, no HTML or proprietary)