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

Re: reading filer attributes from a file



On Tue, Mar 07, 2000 at 08:39:39 +0100, Antonin Novak wrote:
> I have the following search attributes created in a file 
> 
> 	'(&(givenName=Antonin)(prezdivka=Tony))'
> 
> If I use the command 
> 
>     ldapsearch -L -b "dc=pokuscca,dc=cz" -f LDAPSEARCHPARAM
> 
> I get the usage details of LDAPSEARCH.
> 
> If I substitute the -f LDAPSEARCHPARAM part with the string it 
> works.

Use
  ldapsearch -L -b "dc=pokuscca,dc=cz" `cat DAPSEARCHPARAM`

/Niels

-- 
Niels Baggesen,  UNI-C,  Olof Palmes Alle 38,  DK-8200 Aarhus N, Denmark
Email: Niels.Baggesen@uni-c.dk - Tel: +45 8937 6669 - Fax: +45 8937 6677
---         The purpose of computing is insight, not numbers         ---