After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 318227 - Change LDAP search filter
Change LDAP search filter
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Contacts
2.4.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-10-07 17:53 UTC by Carsten Guenther
Modified: 2005-10-25 23:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (1.43 KB, patch)
2005-10-07 17:58 UTC, Carsten Guenther
none Details | Review

Description Carsten Guenther 2005-10-07 17:53:36 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.
Comment 1 Carsten Guenther 2005-10-07 17:58:44 UTC
Created attachment 53192 [details] [review]
Proposed patch
Comment 2 parthasarathi susarla 2005-10-08 05:30:55 UTC
assigning to address book.
Comment 3 parthasarathi susarla 2005-10-08 05:31:43 UTC
re-assigning the owner. sorry for the spam
Comment 4 Sushma Rai 2005-10-10 05:07:58 UTC
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 ***
Comment 5 Carsten Guenther 2005-10-10 05:17:36 UTC
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.
Comment 6 Sushma Rai 2005-10-10 12:05:28 UTC
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.
Comment 7 Carsten Guenther 2005-10-25 23:57:37 UTC
Changed the search filter to "(|(objectclass=person)(mail=*))" in gnome-2-12 branch.

Closing FIXED.