Friday, June 9, 2017

[389-users] Re: notes=A for filter with undefined attribute

On 06/09/2017 03:27 PM, albert.luo@uwindsor.ca wrote:
> Hi,
>
> Xerox printer's LDAP connectivity's default search filter is (|(uid=someone)(samaccountname=someone)). samaccountname is not a defined attribute. This search filter will result notes=A, causing performance issue.
>
> Is there a way to avoid searching samaccountname=someone, since samaccountname is not a defined attribute. Thank you!
no, I don't think so, and it should be easier to change the client to
not use undefined attributes in searches instead of extending the server
to handle all kinds of "..." requests.
If you want to bypass this, you can define the attribute and index it,
it will be one quick index lookup for (samaccountname=someone)returning
nothing and the results should be only based on (uid=someone)
> _______________________________________________
> 389-users mailing list -- 389-users@lists.fedoraproject.org
> To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org

--
Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill, Eric Shander
_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org

No comments:

Post a Comment