[Evolution] Category search and LDAP

Stan Pinte stanpinte@fastmail.fm
Wed, 05 May 2004 17:34:00 +0200


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig5811195CAED6B212471BF363
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

David Kmoch wrote:

>Hi,
>
>I'm using categories for my contacst (have evolutionperson schema on
>LDAP; categories are saved fine as multivalued attribute - checked with
>slapcat) so I thought that searching/displaying contacts by category
>will work from scratch but...
>
>When I try using for example 'Category is Personal', I get none
>Wombat spits:
>
>  (Wombat:13224): wombat-pas-WARNING **: unknown query property
>
>  searching server using filter: objectClass=MyBarnIsBiggerThanYourBarn
>
>  (Wombat:13224): wombat-pas-WARNING **: search returned 0
>
>Using filter 'Any field is Personal' works fine displaying contacts I want (just check,
>I know that is not bullet-proof solution).
>
>So, what I'm missing? 
>
>Also, is there a possibility to manualy edit 'Category Master List' (I mean where is
>it stored in filesystem and in what format)?
>
>						David
>  
>

hello,

I just made a patch for the bug 
http://bugzilla.ximian.com/show_bug.cgi?id=57351

(the patch is on that page).

I made a patched debian package for sarge/sid...if you want to have it 
contact me...

Stan.

the Category Master List is stored in gconf, there:

gconftool-2 --get /apps/evolution/general/category_master_list

it is an XML string...to set it I use a script:

#/usr/local/bin$ cat set-evo-contact-categories.sh
#!/bin/bash

gconftool-2 -s -t string /apps/evolution/general/category_master_list 
"`cat /etc/evolution-skets/category-master-list.skel`"
#:/usr/local/bin$

#:/usr/local/bin$ cat /etc/evolution-skets/category-master-list.skel
<?xml version="1.0"?>
<catlist><cat a="Internal"/><cat a="Customers"/><cat a="Suppliers"/><cat 
a="Prospects"/><cat a="Business relationships"/><cat 
a="Private"/></catlist>#:/usr/local/bin$

hope this helps,

Stan.



>_______________________________________________
>evolution maillist  -  evolution@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/evolution
>  
>


--------------enig5811195CAED6B212471BF363
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAmQlo/PmuubxPWAIRAjFqAJ9VUUxBJujwkuPvzkZWD1ONq65DkQCgjues
Mtq4keUpAilrvdlm9R/B5mc=
=/8TN
-----END PGP SIGNATURE-----

--------------enig5811195CAED6B212471BF363--