[Kde-pim] Akonadi + LDAP: changes not saved to LDAP server

Robin Atwood robin at binro.org
Fri Dec 11 14:58:18 GMT 2009


On Thursday 10 December 2009, Robin Atwood wrote:
> On Thursday 10 December 2009, Will Stephenson wrote:
> > On Wednesday 09 December 2009 18:02:40 Tobias Koenig wrote:
> > > On Wed, Dec 09, 2009 at 09:47:08PM +0700, Robin Atwood wrote:
> > > Hej Robin,
> > >
> > > > So I carried out a very simple experiment. In kaddressbook I select
> > > > the Akonadi->LDAP address book and change one entry. I then save the
> > > > change and restart kaddressbook and view the entry via Akonadi and
> > > > the change is still there. I then deselect the Akonadi->LDAP view and
> > > > select the direct LDAP address book and the change is gone. So my
> > > > conclusion is that changes go into some akonadi cache but never make
> > > > it to the LDAP server. Is this some little restriction I was not
> > > > aware of or a rather large oversight?
> > >
> > > The LDAP resource has not been ported to Akonadi yet, you use the old
> > > LDAP resource via the compatibility bridges...
> > > And yes, Akonadi caches the contacts you write into it. The real
> > > problem here seems to be, that the contacts are not written back
> > > correctly by the LDAP resource through the compatibility bridges...
> >
> > Also make sure that the compatibility resource is not readonly.  This bit
> >  me with Zanshin, since libakonadi doesn't enforce access control.
> 
> No, the resources are not read-only. The problem becomes more obvious when
>  you access the LDAP server from another machine on the LAN; the updates
>  are not seen. Should I then skip using akonadi until LDAP resource is is
>  ported?

I carried out some more tests using the kaddressbook->LDAP direct interface 
and phpldapadmin. Changes made via either route are reflected in the other 
one, so the original LDAP support is still working OK, it's the akonadi back-
end that is the problem.

HTH :)
-Robin

-- 
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
         from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------








_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list