[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Evolution] Evolution, LDAP, etc. - rehashed
- From: Chris Toshok <toshok ximian com>
- To: Tony Earnshaw <tonni billy demon nl>
- Cc: bill barnard-engineering com, evolution ximian com
- Subject: Re: [Evolution] Evolution, LDAP, etc. - rehashed
- Date: 30 Dec 2002 00:56:22 -0800
On Mon, 2002-12-30 at 00:41, Tony Earnshaw wrote:
> man, 2002-12-30 kl. 06:40 skrev Bill Barnard:
>
> > I am now able to connect to an OpenLDAP v2.0.21 server running on a
> > Redhat Linux 7.2 server from another Redhat Linux 7.2 client. A few tips
> > from Kirk Strauser (thanks!) got me started.
> >
> > I can connect using various clients, including Evolution v1.2.1. I can
> > drag and drop Contacts from my local folder to the LDAP server, and can
> > modify/add contacts on the LDAP server.
> >
> > As Kirk posted on 12/20, I also cannot modify any of the Categories
> > fields from Evolution, though I can see them. I can modify those fields
> > using other clients, and Evo displays the correct values. I would really
> > like to be able to modify the Categories from within Evo.
> >
> > Can anyone else modify Categories from within Evo? Any hints or ideas on
> > how I might fix this?
>
> The short answer is, it can't be done at the moment.
>
> The long answer is, that this goes back several months, together with
> Evo (mailing/contact) lists, which are also "not there."
>
> Categories used to be possible in 1.0.x, but they were entered wrongly
> by Evo. Categories is a multi-value attribute that should have dollar
> sign ($) separators (most clients would actually use newlines) and Evo
> was entering the categories with a comma separator, i.e. single-value.
Multivalued attributes are already handled by ldap, and so there's no
need for a field separator within the value at all - *that* was the
problem with the original implementation. It worked just fine in 1.0.x,
you could read/write them (using the deprecated "categories" ldap
attribute), but you couldn't search using them.
The 1.0.x version would store it like:
categories: Business,Birthday,...
so any ldap search over categories would have necessarily been lossy..
we'd have to use "*Business*" as the filter, which is clearly broken.
The new way is:
category: Business
category: Birthday
which is much better.
I just brought up the contact editor here and the category button and
text field aren't even sensitive, which is undoubtedly caused by a typo
I just found in pas-backend-ldap.c.
I've attached a patch that I'll be sending to the patches list tomorrow,
but for now I'm exhausted and going to bed.
> At that time, the number of posts to this list with ldap
> questions/wishes was limited to a couple of people. The Evo hackers had
> so much to do, that the person responsible for the ldap stuff said he'd
> stop any further work on it for the time being and cut out categories.
> One of the Openldap list people implemented a calendar/task URI schema
> that works correctly with Evo, otherwise that wouldn't be possible,
> either.
I'm confused by this - does the calCalURI/calFBURL stuff not work the
way evo uses it? There's not a bug (to my knowledge) filed against it.
> I use ldap for absolutely all authentication and user/contact info on my
> systems. That means that users and contacts only have to be entered once
> for every possible service to be able to make use of them (the only
> exception is Horde, because that doesn't implement ldap correctly except
> for the Turba module). I'd love to see ldap implemented correctly on
> Evo, meaning SSL/TLS, correct adherence to directory trees, categories
> and mailing lists.
>
> But ... :-(
o SSL/TLS: works
o correct adherence to directory trees: you'll need to define that
better, not sure what more we can be doing given the the contact
editor/manager scope we have to operate in.
o categories: with the attached patch they should work - they should
have been before, can't believe I missed that... (Let me know if they
don't, Bill).
o
> Best,
>
> Tony
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]