[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: search for DN (Filter)
François Beretti wrote:
>
> I don't know if it has something to do with the initial question, but
> sometimes I want to make a search such as:
> filter:
> (|(dn=uid=user1,ou=users,dc=domain)(dn=uid=user2,ou=users,dc=domain)(dn=uid=user3,ou=users,dc=domain))
>
> attributes: some attribute
How about this (since the attribute forming the DN is in the entry):
(|(uid=user1)(uid=user2)(dn=uid=user3))
with search base ou=users,dc=domain.
Ciao, Michael.