Issue 110 - lastmod and replication: slaves strip the attributes
Summary: lastmod and replication: slaves strip the attributes
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-03-24 14:31 UTC by az@austria.eu.net
Modified: 2014-08-01 21:07 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description az@austria.eu.net 1999-03-24 14:31:51 UTC
Full_Name: Alexander Zangerl
Version: 1.2.0
OS: (here irrelevant) solaris 5.5.1,5.6; sunos 4.1.3u1; sparclinux; 
URL: 
Submission from: (NULL) (193.154.146.21)


in a replicated environment, the slave slapds strip the modif* and creat*
attributes they get from the master, if configured without "lastmod"; 

(in theory they should add their _own_ attributes with "lastmod on" but i've 
not been able to achieve this; anyways, nobody wants the slaves to maintain 
their own versions of these attributes on the slaves...)

idea for a fix: maybe add a "dontcare" setting to the lastmod attribute;
slapd should then perceive modif* and creat* as regular attributes and 
neither strip nor add these attributes on its own.

regards,
az
Comment 1 Kurt Zeilenga 1999-03-26 18:58:13 UTC
moved from Incoming to Software Bugs
Comment 2 Kurt Zeilenga 1999-03-26 19:25:07 UTC
changed notes
moved from Software Bugs to Software Enhancements
Comment 3 Kurt Zeilenga 1999-03-26 19:46:04 UTC
Moved discussion to -devel...

At 02:31 PM 3/24/99 GMT, az@Austria.EU.net wrote:
>in a replicated environment, the slave slapds strip the modif* and creat*
>attributes they get from the master, if configured without "lastmod"; 

That's basically acting as designed.

>(in theory they should add their _own_ attributes with "lastmod on" but i've 
>not been able to achieve this; anyways, nobody wants the slaves to maintain 
>their own versions of these attributes on the slaves...)

I agree that this would be desirable.  These particular operational
attributes probably only be modified by the master and then replicated
to the slave(s).  It would be interesting to see what the replication
drafts specify for handling of these (and other) operational attributes.

>idea for a fix: maybe add a "dontcare" setting to the lastmod attribute;
>slapd should then perceive modif* and creat* as regular attributes and 
>neither strip nor add these attributes on its own.

I think we need to come up with an approach to handle a wide variety
of operational attributes.  I'm thinking it would be feasible to
completely control such behavior through ACLs.

Kurt

Comment 4 Kurt Zeilenga 1999-06-21 23:44:15 UTC
changed notes
changed state Open to Feedback
Comment 5 Kurt Zeilenga 2001-09-03 20:46:53 UTC
changed notes
changed state Feedback to Closed
Comment 6 OpenLDAP project 2014-08-01 21:07:00 UTC
Replication handles operational attributes as designed (not replicated).
This is a request to change the handling of certian operational attributes.