Issue 7721 - slapo-lastbind patch to allow authTimestamp updates to be forwarded via updateref
Summary: slapo-lastbind patch to allow authTimestamp updates to be forwarded via updat...
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: contrib (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-08 21:30 UTC by Christian Kratzer
Modified: 2019-07-24 18:55 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 Christian Kratzer 2013-10-08 21:30:18 UTC
Full_Name: Christian Kratzer
Version: HEAD
OS: CentOS 6.4
URL: http://www.cksoft.de/paste/34e81be96925e5ea28daea7da2b84b09049f7f3d/0001-Allow-authTimestamp-updates-to-be-forwarded-via-upda.patch
Submission from: (NULL) (2003:41:c010:8001:8de8:2245:8dd7:5c5e)



I, Christian Kratzer, hereby place the following modifications to OpenLDAP
Software (and only these modifications) into the public domain. Hence, these
modifications may be freely used and/or redistributed for any purpose with or
without attribution and/or other notice. 

I have adapted code from slapo-ppolicy to slapo-lastbind from contrib to allow
forwarding of updates to authTimestamp via updateref and chaining.

The patch introduces a new lastbind_forward_updates (olcLastBindForwardUpdates )
boolean parameter to slapo-lastbind that has the same semantics as
ppolicy_forward_updates (olcPPolicyForwardUpdates) in slapo-ppolicy.

I have a 2 master, 2 slave syncrepl test setup which chaining from the slaves to
the masters ( to one of them to be precise ).

- Bind on master1 results in authTimestamp getting replicated to master2 and
both slaves.

- Bind on slave1 with olcLastBindForwardUpdates=TRUE results in authTimestamp
getting forwarded to the master with updateRef and chaining and replicated from
there.

Please review especially the one from ppolicy I did not merge marked with TODO.

Greetings
Christian
Comment 1 Quanah Gibson-Mount 2017-04-12 20:13:09 UTC
changed notes
moved from Incoming to Software Bugs
Comment 2 Quanah Gibson-Mount 2017-09-08 18:02:42 UTC
changed notes
Comment 3 Quanah Gibson-Mount 2017-09-08 18:43:44 UTC
changed notes
Comment 4 Quanah Gibson-Mount 2017-10-11 21:43:16 UTC
changed notes
changed state Open to Test
Comment 5 Howard Chu 2019-06-17 11:52:26 UTC
changed notes
moved from Software Bugs to Software Enhancements
Comment 6 Quanah Gibson-Mount 2019-06-17 18:46:31 UTC
changed notes
changed state Test to Release
moved from Software Enhancements to Contrib
Comment 7 OpenLDAP project 2019-07-24 18:55:09 UTC
fixed in master
Fixed in RE24 (2.4.48)
Comment 8 Quanah Gibson-Mount 2019-07-24 18:55:09 UTC
changed notes
changed state Release to Closed