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

Re: ONE search for many DNs



jneu@julia.univ.gda.pl wrote:
> 
> I have two different DNs specified (DNs are from the same database) and I
> want to get entries with these DNs as a search result from my LDAP server.
> Is it possible to perform only ONE search to do that?
> How should I define filter,base,scope?
> 
> Thanks.

If the entries match a search filter then yes. So a search may go
something like 

ldapsearch -h <server> -b <base> -s sub 'cn=*smith*' dn

Dave
--
Dave Lewney
Principal Systems Programmer, Computing Service
University of Sussex, Brighton BN1 9QJ. Tel: 01273 678354 Fax: 01273
271956