Hi, when searching for a user having this objectclass hierarchy

top
 |_person
         |_organizationalPerson
                    |_inetOrgPerson

and uid = 'jsmith'

Which query would be less expensive or better/faster?  Thanks!

(&
   (objectclass=inetOrgPerson)
   (uid=jsmith)
)

OR

(&
                (&(objectclass=top)
                (objectclass=person)
(objectclass= organizationalPerson)
(objectclass=inetOrgPerson))
(uid=jsmith)
)


Reply via email to