[389-users] About LDAP filters

Jim Finn jamespfinn at gmail.com
Wed Mar 14 18:48:34 UTC 2012


I do not believe there is any noticeable performance difference one way or
the other.

(&(a=1)(b=2)) is the same as (&(b=2)(a=1))

On Wed, Mar 14, 2012 at 2:33 AM, Juan Asensio Sánchez <okelet at gmail.com>wrote:

> 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.
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20120314/b6086a73/attachment.html>


More information about the 389-users mailing list