[389-users] About LDAP filters

Juan Asensio Sánchez okelet at gmail.com
Wed Mar 14 07:33:25 UTC 2012


Hi

Is it important the order of the filter in a search? So, what's the
most optomized filter?

(&(uid=*)(objectClass=sambaSamAccount))

Or

(&(objectClass=sambaSamAccount)(uid=*))

Or which is the best of these two:

(&(uid=user)(ou:dn:=People))

Or

(&(ou:dn:=People)(uid=user))

Regards and thanks in advance.



More information about the 389-users mailing list