GNOME Bugzilla – Bug 318227
Change LDAP search filter
Last modified: 2005-10-25 23:57:37 UTC
Also see bug 311884 for more details on the subject. I am about to file a patch to change the LDAP-search filter from (&(objectclass=person)(...)) to (&(mail=*)(...)) This will ensure that also mailing-lists are included.
Created attachment 53192 [details] [review] Proposed patch
assigning to address book.
re-assigning the owner. sorry for the spam
I think it is better to have a configurable search filter instead of hardcoding it as objectclass=person or objectclass=mail, etc. with objectclass=mail, objects without e-mail id wouldn't get displayed. *** This bug has been marked as a duplicate of 311884 ***
I do not think this is a duplicate. Even if we make the search filter configurable (by fixing 311884), the default filter should work for mailing-lists. Furthermore this is a trivial change which can be applied to 2.4 stable.
But the objects without e-mail ids will not be accessible through Evolution. May be we need to go for objectclass=person || objectclass=mail. Making the filter configurable is the clean solution for this problem.
Changed the search filter to "(|(objectclass=person)(mail=*))" in gnome-2-12 branch. Closing FIXED.