[Date Prev][Date Next]
Re: ONE search for many DNs
> 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?
If the entries match a search filter then yes. So a search may go
ldapsearch -h <server> -b <base> -s sub 'cn=*smith*' dn
Principal Systems Programmer, Computing Service
University of Sussex, Brighton BN1 9QJ. Tel: 01273 678354 Fax: 01273