[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: syncprov and translucent

<quote who="Andy Cobaugh">
> As one might expect, mixing the translucent and syncprov overlays together
> on top of the same bdb database doesn't work. Because translucent uses
> back-ldap, lastmod is being set to off, while syncprov needs it to be on
> in order to function.

What's the big picture here?

> I wonder if it might be possible to change the behavior of back-ldap to
> allow lastmod again? In my case, I only care about replicating changes
> that are stored in the local bdb database by the translucent overlay, and
> I never send updates back to the target ldap server.
> I suppose I could come up with something where I slapcat, then let the
> slaves pick up the ldif and see if it's different from the last time. If
> it is, shutdown slapd, delete the database files, slapadd, start slapd.
> I really want to avoid doing that though, since I consider that a hack and
> a half.
> Thoughts? Is enabling lastmod for back-ldap just a matter of commenting
> out some lines?

No, it's check for in and set to off in various peices of source code.


Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry@suretecsystems.com

Open Source. Open Solutions(tm).


Suretec Systems is a limited company registered in Scotland. Registered
number: SC258005. Registered office: 13 Whiteley Well Place, Inverurie,
Aberdeenshire, AB51 4FP.